From b41030e6e00d1507141c7c00c014fe8bd9e41ef6 Mon Sep 17 00:00:00 2001 From: Robert Findley Date: Sun, 10 Oct 2021 10:46:56 -0400 Subject: [PATCH] go/internal/gcimporter: enable importing typeparam/issue48424.go This is a partial revert of CL 353389, now that go/types supports eliding interface in constraints. For #48424 Change-Id: Ibde26fb66bf6bd5a4c919acffd045a57783d1b47 Reviewed-on: https://go-review.googlesource.com/c/go/+/354990 Trust: Robert Findley Run-TryBot: Robert Findley TryBot-Result: Go Bot Reviewed-by: Robert Griesemer --- src/go/internal/gcimporter/gcimporter_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/go/internal/gcimporter/gcimporter_test.go b/src/go/internal/gcimporter/gcimporter_test.go index 825f735db90..3a9ed79df6b 100644 --- a/src/go/internal/gcimporter/gcimporter_test.go +++ b/src/go/internal/gcimporter/gcimporter_test.go @@ -165,9 +165,8 @@ func TestImportTypeparamTests(t *testing.T) { } skip := map[string]string{ - "equal.go": "inconsistent embedded sorting", // TODO(rfindley): investigate this. - "nested.go": "fails to compile", // TODO(rfindley): investigate this. - "issue48424.go": "go/types support missing", // TODO: need to implement this if #48424 is accepted + "equal.go": "inconsistent embedded sorting", // TODO(rfindley): investigate this. + "nested.go": "fails to compile", // TODO(rfindley): investigate this. } for _, entry := range list {