Align isolation oracle with complete constructor removal

This commit is contained in:
pingqiu committed 2026-11-20 00:39:04 -08:00
1 parent acd961e40e
commit a15b174c72
1 file changed
-7
@@ -100,11 +100,4 @@ func TestLegacyFixtureIsolationRejectsFunctionValues(t *testing.T) {
}
})
}
f, err := parser.ParseFile(token.NewFileSet(), "legacy.go", "package storage\nfunc createLegacyWALStoreWithOptions() {}", 0)
if err != nil {
t.Fatal(err)
}
if refs := legacyConstructorReferences(f, map[string]bool{name: true}); len(refs) != 0 {
t.Fatalf("declaration is not a use: %v", refs)
}
}