]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/types2: add test for imported constraints pre-1.18
authorRobert Griesemer <gri@golang.org>
Sun, 14 Nov 2021 00:16:53 +0000 (16:16 -0800)
committerRobert Griesemer <gri@golang.org>
Mon, 15 Nov 2021 23:01:05 +0000 (23:01 +0000)
commitd15610128e63e299e39af02ea0e6be1afd38b1ff
tree41d6106c9dd6ff7e7423bfce00a9a846b53471c5
parent95e85e31089523447aadb7670715c4d3383cc4ee
cmd/compile/internal/types2: add test for imported constraints pre-1.18

But exclude the test when running unified build for now
(the unified builder's importers are not yet updated to
handle extended interfaces).
Also, fix respective error position.

Fixes #47967.

Change-Id: I4e3d829b5c12001c024b9eefcc27f97b10c1d1e5
Reviewed-on: https://go-review.googlesource.com/c/go/+/363834
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/cmd/compile/internal/types2/check_test.go
src/cmd/compile/internal/types2/decl.go
src/cmd/compile/internal/types2/testdata/fixedbugs/issue47818.go2