]> Cypherpunks.ru repositories - gostls13.git/commit
test: add new test that gofrontend failed to handle
authorIan Lance Taylor <iant@golang.org>
Sat, 5 Dec 2020 16:08:47 +0000 (08:08 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 7 Dec 2020 17:29:52 +0000 (17:29 +0000)
commit9c0e2db051093767526c96cbe02d3c3b7d28f770
tree73f1c2f13685eca880510f8391e62180903d043d
parent7f9a2bc2bc6201d7ffb3b5066b88a19d2da96592
test: add new test that gofrontend failed to handle

The gofrontend code would in some circumstances incorrectly generate a
type descriptor for an alias type, causing the type to fail to be
equal to the unaliased type.

Change-Id: I47d33b0bfde3c72a9a186049539732bdd5a6a96e
Reviewed-on: https://go-review.googlesource.com/c/go/+/275632
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
test/fixedbugs/bug510.dir/a.go [new file with mode: 0644]
test/fixedbugs/bug510.dir/b.go [new file with mode: 0644]
test/fixedbugs/bug510.go [new file with mode: 0644]