]> Cypherpunks repositories - gostls13.git/commitdiff
go/internal/gcimporter: enable importing typeparam/issue48424.go
authorRobert Findley <rfindley@google.com>
Sun, 10 Oct 2021 14:46:56 +0000 (10:46 -0400)
committerRobert Findley <rfindley@google.com>
Mon, 11 Oct 2021 22:17:47 +0000 (22:17 +0000)
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 <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/internal/gcimporter/gcimporter_test.go

index 825f735db90f9f6be8051ae84cbd67c8384818f2..3a9ed79df6b454232d967d5cfebde0bb80a42902 100644 (file)
@@ -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 {