Skip to content

Commit 9daaabf

Browse files
committed
Simplify group description
1 parent 1d6a4c7 commit 9daaabf

File tree

1 file changed

+14
-86
lines changed

1 file changed

+14
-86
lines changed

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

Lines changed: 14 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -28,94 +28,38 @@ class FromTastyTests extends ParallelTesting {
2828
implicit val testGroup: TestGroup = TestGroup("posTestFromTasty")
2929
val (step1, step2) = compileTastyInDir("../tests/pos", defaultOptions,
3030
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
3532
"NoCyclicReference.scala",
3633
"i1795.scala",
3734

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
4136
"depfuntype.scala",
4237

43-
/* Exception in thread "main" java.lang.AssertionError: assertion failed: found: collection.generic.GenericCompanion[collection.immutable.Seq](Test.a)
44-
required: scala.collection.generic.GenericCompanion[
45-
[X0] => scala.collection.immutable.Seq[X0] | scala.collection.mutable.Seq'[X0]
46-
]
47-
48-
where: Seq is a trait in package immutable
49-
Seq' is a trait in package mutable
50-
51-
tree = Test.a
52-
at scala.Predef$.assert(Predef.scala:219)
53-
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
7339
"i2888.scala",
7440
"i974.scala",
7541
"t3800.scala",
7642

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
8744
"i2944.scala",
8845
"t8023.scala",
46+
"hklub0.scala",
47+
"i1365.scala",
8948

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
9450
"i3000.scala",
9551
"t1203a.scala",
9652
"t2260.scala",
9753
"t4579.scala",
9854
"tcpoly_ticket2096.scala",
9955
"t247.scala",
10056
"i2345.scala",
57+
"i0306.scala",
10158

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
11160
"i536.scala",
11261

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
11963
"i3067.scala",
12064

12165
// Infinite compilation
@@ -138,10 +82,7 @@ class FromTastyTests extends ParallelTesting {
13882
blacklist = Set(
13983
"t3613.scala",
14084

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
14586
"Course-2002-13.scala",
14687
"bridges.scala",
14788
"i2337.scala",
@@ -151,27 +92,14 @@ class FromTastyTests extends ParallelTesting {
15192
"scala2trait-lazyval.scala",
15293
"t3452f.scala",
15394

154-
/* assertion failed: found: (f: Test.Fun[A, B]) => (g: Test.Fun[B, C]) => A => implicit f.Eff => implicit
155-
g.Eff
156-
=> C
157-
required: {z1 => (f: Test.Fun[A, B]) => (g: Test.Fun[B, C]) => A => implicit z1.f.Eff =>
158-
implicit
159-
g.Eff => C}
160-
161-
162-
tree = closure($anonfun)
163-
at scala.Predef$.assert(Predef.scala:219)
164-
at dotty.tools.dotc.transform.TreeChecker$Checker.adapt(TreeChecker.scala:448)
165-
*/
95+
// Closure type miss match
16696
"eff-dependent.scala",
16797

168-
/* dotty.tools.dotc.core.tasty.TreeUnpickler$TreeWithoutOwner
169-
at dotty.tools.dotc.core.tasty.TreeUnpickler$OwnerTree.search$1(TreeUnpickler.scala:1156)
170-
*/
98+
// Unpickling tree without owner
17199
"patmat-bind-typed.scala",
172100
"t8395.scala",
173101

174-
/* Issue unpickling universes */
102+
// Issue unpickling universes
175103
"phantom-decls-1.scala",
176104
"phantom-decls-3.scala",
177105
"phantom-decls-5.scala",

0 commit comments

Comments
 (0)