]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/syntax: remove Crawl, not needed anymore (cleanup)
authorRobert Griesemer <gri@golang.org>
Thu, 5 Jan 2023 23:07:04 +0000 (15:07 -0800)
committerGopher Robot <gobot@golang.org>
Tue, 17 Jan 2023 19:55:04 +0000 (19:55 +0000)
commit3c357409d1e9797bec88a5a1dafae13ba2c45a18
tree7e2cfc6002bcbfbb4020cfc918f6b56f4d6f3ecf
parentd4639ecdfc9051a7adcfb8945d93a45da56576ae
cmd/compile/internal/syntax: remove Crawl, not needed anymore (cleanup)

This also brings some of the types2 testing code better in sync with
go/types.

Also: fix a minor bug in resolver_test.go (continue traversing
      SelectorExpr if the first part is not an identifier).

Change-Id: Ib6c5f6228812b49c185b52a4f02ca5b393418e01
Reviewed-on: https://go-review.googlesource.com/c/go/+/460760
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/compile/internal/noder/irgen.go
src/cmd/compile/internal/syntax/walk.go
src/cmd/compile/internal/types2/issues_test.go
src/cmd/compile/internal/types2/resolver_test.go
src/go/types/resolver_test.go