aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Findley <rfindley@google.com>2021-08-04 16:21:15 -0400
committerRobert Findley <rfindley@google.com>2021-08-04 23:24:01 +0000
commit1b708c0260b6627fc23dda30c3f1e691373c032d (patch)
treee8fa599892a1104722fd49d7a5a3f8d21355198d
parent0ec2a8b42d1aa94629ffebdb8f501435cfd14980 (diff)
downloadgo-1b708c0260b6627fc23dda30c3f1e691373c032d.tar.gz
go-1b708c0260b6627fc23dda30c3f1e691373c032d.zip
[dev.typeparams] go/types: remove a stale comment (cleanup)
Remove a stale comment from when the new types.Info API was guarded behind the typeparams build constraint. Change-Id: I319ad0a9e4e4958efdb96c967bf13a0119b5647b Reviewed-on: https://go-review.googlesource.com/c/go/+/340010 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
-rw-r--r--src/go/types/api.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/go/types/api.go b/src/go/types/api.go
index 6c0ceb7b7c..315f77f362 100644
--- a/src/go/types/api.go
+++ b/src/go/types/api.go
@@ -258,8 +258,6 @@ type Info struct {
InitOrder []*Initializer
}
-// The Info struct is found in api_notypeparams.go and api_typeparams.go.
-
// TypeOf returns the type of expression e, or nil if not found.
// Precondition: the Types, Uses and Defs maps are populated.
//