Skip to content

Commit 6590f47

Browse files
adonovangopherbot
authored andcommitted
internal/gcimporter: renable tests of issue50259.go
Now that the compiler support for gotypesalias=1 is fixed (by CL 574737), we can reenable these tests. Updates golang/go#66550 Updates golang/go#65294 Change-Id: I70b187c561d2eeb3f7a4cc078107b7bcce5ced01 Reviewed-on: https://go-review.googlesource.com/c/tools/+/576139 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Tim King <[email protected]> Auto-Submit: Alan Donovan <[email protected]>
1 parent f1d5252 commit 6590f47

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

internal/gcimporter/gcimporter_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ func TestImportTypeparamTests(t *testing.T) {
190190
"nested.go": "fails to compile", // TODO(rfindley): investigate this.
191191
"issue47631.go": "can not handle local type declarations",
192192
"issue55101.go": "fails to compile",
193-
"issue50259.go": "compiler crashes if GODEBUG=gotypesalias=1", // TODO(adonovan): delete when #66550 is fixed.
194193
}
195194
}
196195

internal/gcimporter/iexport_go118_test.go

-6
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,6 @@ func TestImportTypeparamTests(t *testing.T) {
123123
t.Fatal(err)
124124
}
125125

126-
// TODO(adonovan): delete when #66550 is fixed.
127-
if strings.Contains(os.Getenv("GODEBUG"), "gotypesalias=1") &&
128-
entry.Name() == "issue50259.go" {
129-
t.Skip("Skipping test of defined<->alias cycle under gotypesaliases=1 (#66550)")
130-
}
131-
132126
if !bytes.HasPrefix(src, []byte("// run")) && !bytes.HasPrefix(src, []byte("// compile")) {
133127
// We're bypassing the logic of run.go here, so be conservative about
134128
// the files we consider in an attempt to make this test more robust to

0 commit comments

Comments
 (0)