aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/types2/api.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2021-06-03 21:58:32 -0700
committerRobert Griesemer <gri@golang.org>2021-06-05 01:52:30 +0000
commit246a5570bea7b60fa2c1f0e8d4bdca527dd7c224 (patch)
treeceabce6dae25b941fd465e019a2875500adae658 /src/cmd/compile/internal/types2/api.go
parent692399fbaa09578314f8583e49505c6784e8d335 (diff)
downloadgo-246a5570bea7b60fa2c1f0e8d4bdca527dd7c224.tar.gz
go-246a5570bea7b60fa2c1f0e8d4bdca527dd7c224.zip
[dev.typeparams] cmd/compile: rename (types2.Inferred.)Targs to TArgs
This is consistent with Named.TArgs. This is a straight-forward port of https://golang.org/cl/321289 plus the necessary compiler noder changes. Change-Id: I50791e5abe0d7f294293bed65cebc8dde8bf8c06 Reviewed-on: https://go-review.googlesource.com/c/go/+/325010 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
Diffstat (limited to 'src/cmd/compile/internal/types2/api.go')
-rw-r--r--src/cmd/compile/internal/types2/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/types2/api.go b/src/cmd/compile/internal/types2/api.go
index 433250f02c..4f7f35e61b 100644
--- a/src/cmd/compile/internal/types2/api.go
+++ b/src/cmd/compile/internal/types2/api.go
@@ -361,7 +361,7 @@ func (tv TypeAndValue) HasOk() bool {
// Inferred reports the inferred type arguments and signature
// for a parameterized function call that uses type inference.
type Inferred struct {
- Targs []Type
+ TArgs []Type
Sig *Signature
}