Skip to content

Commit 04e3cb9

Browse files
committed
Clean blacklist
1 parent d7d326f commit 04e3cb9

File tree

1 file changed

+8
-38
lines changed

1 file changed

+8
-38
lines changed

dotty-scala-library-from-tasty-tests/test/LibraryTest.scala

Lines changed: 8 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -131,39 +131,24 @@ object TastyInspectorTest:
131131

132132
/** List of classes that cannot be recompilied from TASTy */
133133
def compileBlacklist = List[String](
134-
// java.lang.AssertionError: assertion failed: private value DefaultSentinel in object Map
134+
// OK?
135+
// failed: java.lang.AssertionError: assertion failed: class Boolean
136+
// at dotty.DottyPredef$.assertFail(DottyPredef.scala:17)
137+
// at dotty.tools.backend.jvm.BCodeHelpers$BCInnerClassGen.assertClassNotArrayNotPrimitive(BCodeHelpers.scala:247)
138+
// at dotty.tools.backend.jvm.BCodeHelpers$BCInnerClassGen.getClassBTypeAndRegisterInnerClass(BCodeHelpers.scala:265)
139+
// at dotty.tools.backend.jvm.BCodeHelpers$BCInnerClassGen.getClassBTypeAndRegisterInnerClass$(BCodeHelpers.scala:210)
140+
// at dotty.tools.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.getClassBTypeAndRegisterInnerClass(BCodeSkelBuilder.scala:62)
141+
// at dotty.tools.backend.jvm.BCodeHelpers$BCInnerClassGen.internalName(BCodeHelpers.scala:237)
135142
"scala.Array",
136143
"scala.Boolean",
137144
"scala.Byte",
138145
"scala.Char",
139-
"scala.collection.convert.JavaCollectionWrappers",
140-
"scala.collection.convert.StreamExtensions",
141-
"scala.collection.immutable.HashMap",
142-
"scala.collection.immutable.ListSet",
143-
"scala.collection.immutable.Map",
144-
"scala.collection.immutable.Set",
145-
"scala.collection.immutable.TreeMap",
146-
"scala.collection.immutable.VectorMap",
147-
"scala.collection.Map",
148-
"scala.collection.mutable.PriorityQueue",
149-
"scala.collection.SeqOps",
150-
"scala.collection.View",
151146
"scala.Double",
152147
"scala.Float",
153148
"scala.Int",
154-
"scala.jdk.AnyAccumulatorStepper",
155-
"scala.jdk.DoubleAccumulatorStepper",
156-
"scala.jdk.IntAccumulatorStepper",
157-
"scala.jdk.LongAccumulatorStepper",
158149
"scala.Long",
159-
"scala.math.Equiv",
160-
"scala.runtime.LambdaDeserialize",
161-
"scala.runtime.StructuralCallSite",
162150
"scala.Short",
163-
"scala.sys.process.ProcessBuilderImpl",
164-
"scala.sys.ShutdownHookThread",
165151
"scala.Unit",
166-
"scala.util.control.Breaks",
167152

168153
// -- Error:
169154
// | def addOne(kv: (K, V)) = {
@@ -210,21 +195,6 @@ object TastyInspectorTest:
210195
// | method force of type => (Cons.this : scala.collection.immutable.Stream.Cons[A]) has incompatible type
211196
"scala.collection.immutable.Stream",
212197

213-
// assertion failed: private method checkFallback in object PartialFunction
214-
"scala.PartialFunction",
215-
216-
// at dotty.DottyPredef$.assertFail(DottyPredef.scala:17)
217-
// at dotty.tools.dotc.transform.ExpandPrivate.ensurePrivateAccessible(ExpandPrivate.scala:84)
218-
// at dotty.tools.dotc.transform.ExpandPrivate.transformSelect(ExpandPrivate.scala:97)
219-
// at dotty.tools.dotc.transform.ExpandPrivate.transformSelect(ExpandPrivate.scala:96)
220-
"scala.collection.LazyZip2",
221-
"scala.collection.LazyZip3",
222-
"scala.collection.LazyZip4",
223-
"scala.collection.mutable.HashTable",
224-
"scala.collection.mutable.UnrolledBuffer",
225-
"scala.util.DynamicVariable", // fails on CI only
226-
"scala.util.Using", // fails on CI only
227-
228198
)
229199

230200
/** Set of classes that cannot be loaded from TASTy */

0 commit comments

Comments
 (0)