]> Cypherpunks repositories - gostls13.git/commit
go/types: add a test case for issue 45985
authorRob Findley <rfindley@google.com>
Thu, 6 May 2021 13:01:07 +0000 (09:01 -0400)
committerRobert Findley <rfindley@google.com>
Fri, 7 May 2021 02:05:28 +0000 (02:05 +0000)
commit9524e93adf9807ab3c23d09a6b8c0aa8dd98f9ab
treec767be7bc0d83ce1983cf71ab8c444d6bdff1cbe
parenta11a1711b085e5035d42cde49f88bbbab8b36550
go/types: add a test case for issue 45985

The fix for #45985 is a little subtle. Start by committing the (bad)
test case.

For #45985

Change-Id: Ia6625818e9b1c5e869b2c2f724f817c13c9944d1
Reviewed-on: https://go-review.googlesource.com/c/go/+/317471
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/infer.go
src/go/types/testdata/fixedbugs/issue45985.go2 [new file with mode: 0644]