You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val (step1, step2) = compileTastyInDir("../tests/pos", defaultOptions,
30
30
blacklist =Set(
31
-
/* assertion failed: owner discrepancy for type CC, expected: class <refinement>, found: class <refinement>
32
-
at scala.Predef$.assert(Predef.scala:219)
33
-
at dotty.tools.dotc.core.tasty.TreeUnpickler$TreeReader.symbolAtCurrent(TreeUnpickler.scala:195)
34
-
*/
31
+
// Owner discrepancy for refinements
35
32
"NoCyclicReference.scala",
36
33
"i1795.scala",
37
34
38
-
/* Exception in thread "main" dotty.tools.dotc.core.Types$MergeError: cannot merge (implicit x$0: Test.C): Test.C#M with (x: Test.C): x.M as members of type Test.IDF(Test.ifun)
39
-
at dotty.tools.dotc.core.Denotations$Denotation.mergeSingleDenot$1(Denotations.scala:527)
40
-
*/
35
+
// Cannot merge members
41
36
"depfuntype.scala",
42
37
43
-
/* Exception in thread "main" java.lang.AssertionError: assertion failed: found: collection.generic.GenericCompanion[collection.immutable.Seq](Test.a)
at dotty.tools.dotc.transform.TreeChecker$Checker.adapt(TreeChecker.scala:448)
54
-
*/
55
-
"hklub0.scala",
56
-
"i1365.scala",
57
-
58
-
/* assertion failed: position not set for Ident(u) # 1086
59
-
at scala.Predef$.assert(Predef.scala:219)
60
-
at dotty.tools.dotc.typer.Typer$.assertPositioned(Typer.scala:63)
61
-
*/
62
-
"i0306.scala",
63
-
64
-
/* java.lang.NullPointerException
65
-
at dotty.tools.dotc.core.Hashable.finishHash(Hashable.scala:65)
66
-
at dotty.tools.dotc.core.Hashable.finishHash$(Hashable.scala:64)
67
-
at dotty.tools.dotc.core.Types$Type.finishHash(Types.scala:87)
68
-
at dotty.tools.dotc.core.Hashable.doHash(Hashable.scala:89)
69
-
at dotty.tools.dotc.core.Hashable.doHash$(Hashable.scala:88)
70
-
at dotty.tools.dotc.core.Types$Type.doHash(Types.scala:87)
71
-
at dotty.tools.dotc.core.Types$HKLambda.computeHash(Types.scala:2639)
72
-
*/
38
+
// NPE in HKLambda.computeHash
73
39
"i2888.scala",
74
40
"i974.scala",
75
41
"t3800.scala",
76
42
77
-
/* assertion failed: found: b
78
-
required: b'
79
-
80
-
where: b is a type in method foo with bounds
81
-
b' is a type in method foo with bounds
82
-
83
-
tree = 3.asInstanceOf[b]
84
-
at scala.Predef$.assert(Predef.scala:219)
85
-
at dotty.tools.dotc.transform.TreeChecker$Checker.adapt(TreeChecker.scala:448)
86
-
*/
43
+
// Type miss match after unpickling
87
44
"i2944.scala",
88
45
"t8023.scala",
46
+
"hklub0.scala",
47
+
"i1365.scala",
89
48
90
-
/* assertion failed: position not set for Ident(bar) # 502
91
-
at scala.Predef$.assert(Predef.scala:219)
92
-
at dotty.tools.dotc.typer.Typer$.assertPositioned(Typer.scala:63)
93
-
*/
49
+
// Missing position
94
50
"i3000.scala",
95
51
"t1203a.scala",
96
52
"t2260.scala",
97
53
"t4579.scala",
98
54
"tcpoly_ticket2096.scala",
99
55
"t247.scala",
100
56
"i2345.scala",
57
+
"i0306.scala",
101
58
102
-
/* cyclic reference involving type M
103
-
at dotty.tools.dotc.core.Types$CyclicReference$.apply(Types.scala:4416)
104
-
at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:244)
105
-
at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeInfo$1(SymDenotations.scala:209)
106
-
at dotty.tools.dotc.core.SymDenotations$SymDenotation.info(SymDenotations.scala:211)
107
-
at dotty.tools.dotc.core.Types$NamedType.info(Types.scala:1642)
108
-
at dotty.tools.dotc.core.Types$TypeRef.underlying(Types.scala:2072)
109
-
at dotty.tools.dotc.core.Types$Type.phantomLatticeType(Types.scala:246)
110
-
*/
59
+
// cyclic type references
111
60
"i536.scala",
112
61
113
-
/* assertion failed: object a tree does not define methods: method $anonfun
114
-
expected: Set(method <init>, method $anonfun)%, %
115
-
defined:
116
-
at scala.Predef$.assert(Predef.scala:219)
117
-
at dotty.tools.dotc.transform.TreeChecker$Checker.typedClassDef(TreeChecker.scala:385)
118
-
*/
62
+
// Anonymous method not defined
119
63
"i3067.scala",
120
64
121
65
// Infinite compilation
@@ -138,10 +82,7 @@ class FromTastyTests extends ParallelTesting {
138
82
blacklist =Set(
139
83
"t3613.scala",
140
84
141
-
/* position not set for DefDef(min,List(),List(List(ValDef(cmp,TypeTree[TypeRef(ThisType(TypeRef(NoPrefix,module class math)),class Ordering)],EmptyTree))),TypeTree[TypeRef(ThisType(TypeRef(NoPrefix,module class lang)),class Object)],Apply(Select(This(Ident(Tokenizer)),min),List(Ident(cmp)))) # 44104
142
-
at scala.Predef$.assert(Predef.scala:219)
143
-
at dotty.tools.dotc.typer.Typer$.assertPositioned(Typer.scala:63)
144
-
*/
85
+
// Missing position
145
86
"Course-2002-13.scala",
146
87
"bridges.scala",
147
88
"i2337.scala",
@@ -151,27 +92,14 @@ class FromTastyTests extends ParallelTesting {
0 commit comments