Skip to content

Commit 8807f4f

Browse files
Merge pull request #3837 from dotty-staging/from-tasty-triage
Triage FromTasty tests
2 parents 8d5cd57 + 9daaabf commit 8807f4f

File tree

1 file changed

+39
-16
lines changed

1 file changed

+39
-16
lines changed

compiler/test/dotty/tools/dotc/FromTastyTests.scala

Lines changed: 39 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,27 +28,42 @@ class FromTastyTests extends ParallelTesting {
2828
implicit val testGroup: TestGroup = TestGroup("posTestFromTasty")
2929
val (step1, step2) = compileTastyInDir("../tests/pos", defaultOptions,
3030
blacklist = Set(
31+
// Owner discrepancy for refinements
3132
"NoCyclicReference.scala",
32-
"depfuntype.scala",
33-
"hklub0.scala",
34-
"i0306.scala",
35-
"i1365.scala",
3633
"i1795.scala",
37-
"i2345.scala",
34+
35+
// Cannot merge members
36+
"depfuntype.scala",
37+
38+
// NPE in HKLambda.computeHash
3839
"i2888.scala",
40+
"i974.scala",
41+
"t3800.scala",
42+
43+
// Type miss match after unpickling
3944
"i2944.scala",
45+
"t8023.scala",
46+
"hklub0.scala",
47+
"i1365.scala",
48+
49+
// Missing position
4050
"i3000.scala",
41-
"i536.scala",
42-
"i974.scala",
4351
"t1203a.scala",
4452
"t2260.scala",
45-
"t3612.scala", // Test never finishes
46-
"t3800.scala",
4753
"t4579.scala",
48-
"t8023.scala",
4954
"tcpoly_ticket2096.scala",
5055
"t247.scala",
56+
"i2345.scala",
57+
"i0306.scala",
58+
59+
// cyclic type references
60+
"i536.scala",
61+
62+
// Anonymous method not defined
5163
"i3067.scala",
64+
65+
// Infinite compilation
66+
"t3612.scala",
5267
)
5368
)
5469
step1.checkCompile() // Compile all files to generate the class files with tasty
@@ -65,14 +80,26 @@ class FromTastyTests extends ParallelTesting {
6580
implicit val testGroup: TestGroup = TestGroup("runTestFromTasty")
6681
val (step1, step2) = compileTastyInDir("../tests/run", defaultOptions,
6782
blacklist = Set(
83+
"t3613.scala",
84+
85+
// Missing position
6886
"Course-2002-13.scala",
6987
"bridges.scala",
70-
"eff-dependent.scala",
71-
"enum-approx.scala",
7288
"i2337.scala",
7389
"i2337b.scala",
90+
"enum-approx.scala",
7491
"inlineForeach.scala",
92+
"scala2trait-lazyval.scala",
93+
"t3452f.scala",
94+
95+
// Closure type miss match
96+
"eff-dependent.scala",
97+
98+
// Unpickling tree without owner
7599
"patmat-bind-typed.scala",
100+
"t8395.scala",
101+
102+
// Issue unpickling universes
76103
"phantom-decls-1.scala",
77104
"phantom-decls-3.scala",
78105
"phantom-decls-5.scala",
@@ -85,10 +112,6 @@ class FromTastyTests extends ParallelTesting {
85112
"phantom-poly-2.scala",
86113
"phantom-poly-3.scala",
87114
"phantom-poly-4.scala",
88-
"scala2trait-lazyval.scala",
89-
"t3452f.scala",
90-
"t8395.scala",
91-
"t3613.scala",
92115
)
93116
)
94117
step1.checkCompile() // Compile all files to generate the class files with tasty

0 commit comments

Comments
 (0)