]> Cypherpunks repositories - gostls13.git/commitdiff
go/types: update internal (now incorrect) comment on deps field
authorRobert Griesemer <gri@golang.org>
Wed, 11 Apr 2018 21:32:29 +0000 (14:32 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 11 Apr 2018 21:52:25 +0000 (21:52 +0000)
The file ordering.go referred to in the comment was removed
with commit dd44895. There's no duplicate use of the deps
field anymore.

Change-Id: Ia6490e9f0839d4f755e8063758819e29b3d3b248
Reviewed-on: https://go-review.googlesource.com/106459
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/go/types/resolver.go

index 11a74f63d81ed87830ed255788f16dae48a044c7..de8ae0bd1ac8540d3752f7f6f6b66ab0b3daf35a 100644 (file)
@@ -25,8 +25,6 @@ type declInfo struct {
        alias bool          // type alias declaration
 
        // The deps field tracks initialization expression dependencies.
-       // As a special (overloaded) case, it also tracks dependencies of
-       // interface types on embedded interfaces (see ordering.go).
        deps objSet // lazily initialized
 }