]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.typeparams] go/types: remove a stale comment (cleanup)
authorRob Findley <rfindley@google.com>
Wed, 4 Aug 2021 20:21:15 +0000 (16:21 -0400)
committerRobert Findley <rfindley@google.com>
Wed, 4 Aug 2021 23:24:01 +0000 (23:24 +0000)
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>
src/go/types/api.go

index 6c0ceb7b7c50d375dc1b9747ba9b65beaa840939..315f77f362ae096880b1b75da48148c036840484 100644 (file)
@@ -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.
 //