@@ -117,10 +117,12 @@ object TastyInspectorTest:
117
117
assert(reporter.errorCount == 0 , " Errors while re-compiling" )
118
118
}
119
119
120
+ /** List of classes that cannot be loaded from TASTy */
120
121
def loadBlacklist = List [String ](
121
122
// No issues :)
122
123
)
123
124
125
+ /** List of classes that cannot be recompilied from TASTy */
124
126
def compileBlacklist = List [String ](
125
127
// java.lang.AssertionError: assertion failed: private value DefaultSentinel in object Map
126
128
" scala.Array" ,
@@ -174,7 +176,6 @@ object TastyInspectorTest:
174
176
" scala.collection.immutable.MapBuilderImpl" ,
175
177
" scala.collection.immutable.SetBuilderImpl" ,
176
178
" scala.collection.immutable.TreeSeqMap" ,
177
- " scala.collection.immutable.Vector" ,
178
179
" scala.collection.immutable.VectorBuilder" ,
179
180
" scala.collection.immutable.VectorMapBuilder" ,
180
181
" scala.collection.mutable.AnyRefMap" ,
@@ -205,90 +206,28 @@ object TastyInspectorTest:
205
206
// assertion failed: private method checkFallback in object PartialFunction
206
207
" scala.PartialFunction" ,
207
208
208
- // fails on CI only
209
209
// at dotty.DottyPredef$.assertFail(DottyPredef.scala:17)
210
210
// at dotty.tools.dotc.transform.ExpandPrivate.ensurePrivateAccessible(ExpandPrivate.scala:84)
211
211
// at dotty.tools.dotc.transform.ExpandPrivate.transformSelect(ExpandPrivate.scala:97)
212
212
// at dotty.tools.dotc.transform.ExpandPrivate.transformSelect(ExpandPrivate.scala:96)
213
- " scala.util.DynamicVariable" ,
214
- " scala.util.Using" ,
215
-
216
- // uncategorized issue
217
- " scala.collection.ArrayOps" ,
218
- " scala.collection.BitSetOps" ,
219
- " scala.collection.generic.DefaultSerializationProxy" ,
220
- " scala.collection.immutable.List" ,
221
- " scala.collection.immutable.Node" ,
222
- " scala.collection.immutable.NumericRange" ,
223
- " scala.collection.immutable.Range" ,
224
- " scala.collection.immutable.StrictOptimizedSeqOps" ,
225
- " scala.collection.immutable.Vector0" ,
226
- " scala.collection.immutable.VectorSliceBuilder" ,
227
- " scala.collection.immutable.WrappedString" ,
228
- " scala.collection.Iterator" ,
229
213
" scala.collection.LazyZip2" ,
230
214
" scala.collection.LazyZip3" ,
231
215
" scala.collection.LazyZip4" ,
232
- " scala.collection.MapOps" ,
233
- " scala.collection.mutable.ArrayBuffer" ,
234
- " scala.collection.mutable.ArrayBufferView" ,
235
- " scala.collection.mutable.ArrayDeque" ,
236
- " scala.collection.mutable.ArrayDequeOps" ,
237
- " scala.collection.mutable.HashMap" ,
238
216
" scala.collection.mutable.HashTable" ,
239
- " scala.collection.mutable.ListBuffer" ,
240
217
" scala.collection.mutable.UnrolledBuffer" ,
241
- " scala.collection.SeqView" ,
242
- " scala.collection.StringView" ,
243
- " scala.concurrent.duration.Duration" ,
244
- " scala.concurrent.Future" ,
218
+ " scala.util.DynamicVariable" , // fails on CI only
219
+ " scala.util.Using" , // fails on CI only
220
+
221
+ // java.lang.StringIndexOutOfBoundsException: String index out of range: 153
222
+ " scala.collection.Iterator" ,
245
223
" scala.Enumeration" ,
246
- " scala.io.Source" ,
247
- " scala.jdk.Accumulator" ,
248
- " scala.jdk.javaapi.DurationConverters" ,
249
- " scala.Product" ,
250
- " scala.Product1" ,
251
- " scala.Product10" ,
252
- " scala.Product11" ,
253
- " scala.Product12" ,
254
- " scala.Product13" ,
255
- " scala.Product14" ,
256
- " scala.Product15" ,
257
- " scala.Product16" ,
258
- " scala.Product17" ,
259
- " scala.Product18" ,
260
- " scala.Product19" ,
261
- " scala.Product2" ,
262
- " scala.Product20" ,
263
- " scala.Product21" ,
264
- " scala.Product22" ,
265
- " scala.Product3" ,
266
- " scala.Product4" ,
267
- " scala.Product5" ,
268
- " scala.Product6" ,
269
- " scala.Product7" ,
270
- " scala.Product8" ,
271
- " scala.Product9" ,
272
- " scala.reflect.ClassTag" ,
273
- " scala.runtime.ArrayCharSequence" ,
274
- " scala.runtime.LazyBoolean" ,
275
- " scala.runtime.LazyByte" ,
276
- " scala.runtime.LazyChar" ,
277
- " scala.runtime.LazyDouble" ,
278
- " scala.runtime.LazyFloat" ,
279
- " scala.runtime.LazyInt" ,
280
- " scala.runtime.LazyLong" ,
281
- " scala.runtime.LazyRef" ,
282
- " scala.runtime.LazyShort" ,
283
- " scala.runtime.LazyUnit" ,
284
- " scala.runtime.Tuple2Zipped" ,
285
- " scala.runtime.Tuple3Zipped" ,
286
- " scala.StringContext" ,
287
224
" scala.sys.process.ProcessImpl" ,
288
- " scala.util.PropertiesTrait" ,
289
225
)
290
226
227
+ /** Set of classes that cannot be loaded from TASTy */
291
228
def loadBlacklisted = loadBlacklist.toSet
229
+
230
+ /** Set of classes that cannot be recompilied from TASTy */
292
231
def compileBlacklisted = compileBlacklist.toSet
293
232
294
233
end TastyInspectorTest
0 commit comments