]> Cypherpunks repositories - gostls13.git/commit
go/types: produce empty type set for invalid ~T
authorRobert Griesemer <gri@golang.org>
Fri, 26 Nov 2021 20:43:06 +0000 (12:43 -0800)
committerRobert Griesemer <gri@golang.org>
Mon, 29 Nov 2021 22:02:49 +0000 (22:02 +0000)
commit1ab677a797ab5cdb5c0248b2d63b753820e6ed49
treee15b986b4cfa320a5b8c5f461d21bbf48faf3d4e
parent2f6d3820501b34ce530be8193789659c18db0867
go/types: produce empty type set for invalid ~T

This is a clean port of CL 366278 from types2 to go/types.

For #49739.

Change-Id: I2e2cb739c02fcc07e012499c7b65b13b057875ea
Reviewed-on: https://go-review.googlesource.com/c/go/+/367197
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
src/go/types/testdata/fixedbugs/issue49739.go2 [new file with mode: 0644]
src/go/types/typeset.go