]> Cypherpunks.ru repositories - gostls13.git/commit
go/types, types2: print qualified object names in cycle errors
authorRobert Griesemer <gri@golang.org>
Fri, 24 Jun 2022 00:53:01 +0000 (17:53 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 24 Jun 2022 17:48:24 +0000 (17:48 +0000)
commit73475ef0350e84b35a6aa1b593448a9497b62440
treeb907fb89a190e998ab8bc86ae11e0f0f07a7028a
parent3e58ef6cc7dfaf2cf3b593e728f7f62391030114
go/types, types2: print qualified object names in cycle errors

Fixes #50788.

Change-Id: Id1ed7d9c0687e3005e28598373fd5634178c78ca
Reviewed-on: https://go-review.googlesource.com/c/go/+/413895
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
src/cmd/compile/internal/types2/decl.go
src/go/types/decl.go
test/fixedbugs/issue50788.dir/a.go [new file with mode: 0644]
test/fixedbugs/issue50788.dir/b.go [new file with mode: 0644]
test/fixedbugs/issue50788.go [new file with mode: 0644]