@@ -4,92 +4,37 @@ import com.typesafe.tools.mima.core._
4
4
object Scala2LibraryBootstrappedMiMaFilters {
5
5
6
6
val BackwardsBreakingChanges : Map [String , Seq [ProblemFilter ]] = Map (
7
- Build .stdlibBootstrappedVersion -> {
8
- Seq (
9
- // Files that are not compiled in the bootstrapped library
10
- ProblemFilters .exclude[MissingClassProblem ](" scala.AnyVal" ),
11
-
12
- // Scala language features
13
- ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.language.<clinit>" ),
14
- ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.language#experimental.<clinit>" ),
15
- ProblemFilters .exclude[FinalClassProblem ](" scala.language$experimental$" ),
16
- ProblemFilters .exclude[FinalClassProblem ](" scala.languageFeature$*$" ),
17
-
18
- // Issue: https://github.com/scala/scala3/issues/22495
19
- ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.ArrayOps.scala$collection$ArrayOps$$elemTag$extension" ),
20
- ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.ArrayOps.iterateUntilEmpty$extension" ),
21
- ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.StringOps.isLineBreak$extension" ),
22
- ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.StringOps.isLineBreak2$extension" ),
23
- ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.StringOps.linesSeparated$extension" ),
24
- ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.StringOps.escape$extension" ),
25
- ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.StringOps.toBooleanImpl$extension" ),
26
- ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.StringOps.unwrapArg$extension" ),
27
- ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.StringOps.iterateUntilEmpty$extension" ),
28
- ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.runtime.Tuple2Zipped.coll1$extension" ),
29
- ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.runtime.Tuple2Zipped.coll2$extension" ),
30
- ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.runtime.Tuple3Zipped.coll1$extension" ),
31
- ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.runtime.Tuple3Zipped.coll2$extension" ),
32
- ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.runtime.Tuple3Zipped.coll3$extension" ),
33
-
34
- // Companion module class
35
- ProblemFilters .exclude[FinalClassProblem ](" scala.*$" ),
36
-
37
- // Scala 2 intrinsic macros
38
- ProblemFilters .exclude[FinalMethodProblem ](" scala.StringContext.s" ),
39
-
40
- // Specialization?
41
- ProblemFilters .exclude[MissingFieldProblem ](" scala.Tuple1._1" ), // field _1 in class scala.Tuple1 does not have a correspondent in current version
42
- ProblemFilters .exclude[MissingFieldProblem ](" scala.Tuple2._1" ), // field _1 in class scala.Tuple2 does not have a correspondent in current version
43
- ProblemFilters .exclude[MissingFieldProblem ](" scala.Tuple2._2" ), // field _2 in class scala.Tuple2 does not have a correspondent in current version
44
-
45
- // Scala 2 specialization
46
- ProblemFilters .exclude[MissingClassProblem ](" scala.*$sp" ),
47
- ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.*$sp" ),
48
- ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.*#*#sp.$init$" ),
49
- ProblemFilters .exclude[MissingTypesProblem ](" scala.collection.DoubleStepper" ),
50
- ProblemFilters .exclude[MissingTypesProblem ](" scala.collection.immutable.DoubleVectorStepper" ),
51
- ProblemFilters .exclude[MissingTypesProblem ](" scala.collection.immutable.IntVectorStepper" ),
52
- ProblemFilters .exclude[MissingTypesProblem ](" scala.collection.immutable.LongVectorStepper" ),
53
- ProblemFilters .exclude[MissingTypesProblem ](" scala.collection.IntStepper" ),
54
- ProblemFilters .exclude[MissingTypesProblem ](" scala.collection.LongStepper" ),
55
- ProblemFilters .exclude[MissingTypesProblem ](" scala.jdk.DoubleAccumulator" ),
56
- ProblemFilters .exclude[MissingTypesProblem ](" scala.jdk.FunctionWrappers$*" ),
57
- ProblemFilters .exclude[MissingTypesProblem ](" scala.jdk.IntAccumulator" ),
58
- ProblemFilters .exclude[MissingTypesProblem ](" scala.jdk.LongAccumulator" ),
59
- ProblemFilters .exclude[FinalClassProblem ](" scala.collection.ArrayOps$ReverseIterator" ),
60
- ProblemFilters .exclude[FinalClassProblem ](" scala.Tuple1" ),
61
- ProblemFilters .exclude[FinalClassProblem ](" scala.Tuple2" ),
62
-
63
- // other
64
- ProblemFilters .exclude[FinalMethodProblem ](" scala.Enumeration.ValueOrdering" ),
65
- ProblemFilters .exclude[FinalMethodProblem ](" scala.Enumeration.ValueSet" ),
66
- ProblemFilters .exclude[FinalMethodProblem ](" scala.io.Source.NoPositioner" ),
67
- ProblemFilters .exclude[FinalMethodProblem ](" scala.io.Source.RelaxedPosition" ),
68
- ProblemFilters .exclude[FinalMethodProblem ](" scala.io.Source.RelaxedPositioner" ),
69
- ProblemFilters .exclude[IncompatibleResultTypeProblem ](" scala.collection.immutable.SortedMapOps.coll" ),
70
- ProblemFilters .exclude[IncompatibleResultTypeProblem ](" scala.collection.immutable.TreeMap.empty" ),
71
- ProblemFilters .exclude[IncompatibleResultTypeProblem ](" scala.collection.immutable.TreeMap.fromSpecific" ),
72
- ProblemFilters .exclude[IncompatibleResultTypeProblem ](" scala.collection.mutable.ArrayBuilder#ofUnit.addAll" ),
73
- ProblemFilters .exclude[IncompatibleResultTypeProblem ](" scala.collection.mutable.TreeMap.empty" ),
74
- ProblemFilters .exclude[IncompatibleResultTypeProblem ](" scala.collection.mutable.TreeMap.fromSpecific" ),
75
- ProblemFilters .exclude[IncompatibleResultTypeProblem ](" scala.reflect.ManifestFactory#NothingManifest.newArray" ),
76
- ProblemFilters .exclude[IncompatibleResultTypeProblem ](" scala.reflect.ManifestFactory#NullManifest.newArray" ),
77
- ProblemFilters .exclude[MissingFieldProblem ](" scala.collection.ArrayOps#ReverseIterator.xs" ),
78
- ProblemFilters .exclude[MissingFieldProblem ](" scala.runtime.NonLocalReturnControl.value" ),
79
- ProblemFilters .exclude[ReversedMissingMethodProblem ](" scala.collection.immutable.SortedMapOps.coll" ),
80
- ) ++
81
- Seq ( // DirectMissingMethodProblem
82
- " scala.collection.LinearSeqIterator#LazyCell.this" ,
83
- " scala.collection.mutable.PriorityQueue#ResizableArrayAccess.this" ,
84
- " scala.concurrent.BatchingExecutor#AbstractBatch.this" ,
85
- " scala.concurrent.Channel#LinkedList.this" ,
86
- " scala.Enumeration#ValueOrdering.this" ,
87
- " scala.io.Source#RelaxedPosition.this" ,
88
- " scala.collection.IterableOnceOps#Maximized.this" , // New in 2.13.11: private inner class
89
- " scala.util.Properties.<clinit>" ,
90
- " scala.util.Sorting.scala$util$Sorting$$mergeSort$default$5" ,
91
- ).map(ProblemFilters .exclude[DirectMissingMethodProblem ])
92
- }
7
+ Build .stdlibBootstrappedVersion -> Seq (
8
+ // Scala language features (not really a problem)
9
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.language.<clinit>" ),
10
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.language#experimental.<clinit>" ),
11
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.util.Properties.<clinit>" ),
12
+
13
+ // Companion module class (not really a problem)
14
+ ProblemFilters .exclude[FinalClassProblem ](" scala.*$" ),
15
+ ProblemFilters .exclude[FinalMethodProblem ](" scala.io.Source.NoPositioner" ),
16
+ ProblemFilters .exclude[FinalMethodProblem ](" scala.io.Source.RelaxedPosition" ),
17
+ ProblemFilters .exclude[FinalMethodProblem ](" scala.io.Source.RelaxedPositioner" ),
18
+ ProblemFilters .exclude[FinalMethodProblem ](" scala.Enumeration.ValueOrdering" ),
19
+ ProblemFilters .exclude[FinalMethodProblem ](" scala.Enumeration.ValueSet" ),
20
+ ProblemFilters .exclude[FinalMethodProblem ](" scala.StringContext.s" ),
21
+
22
+ // Issue: https://github.com/scala/scala3/issues/22495
23
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.ArrayOps.scala$collection$ArrayOps$$elemTag$extension" ),
24
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.ArrayOps.iterateUntilEmpty$extension" ),
25
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.StringOps.isLineBreak$extension" ),
26
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.StringOps.isLineBreak2$extension" ),
27
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.StringOps.linesSeparated$extension" ),
28
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.StringOps.escape$extension" ),
29
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.StringOps.toBooleanImpl$extension" ),
30
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.StringOps.unwrapArg$extension" ),
31
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.StringOps.iterateUntilEmpty$extension" ),
32
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.runtime.Tuple2Zipped.coll1$extension" ),
33
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.runtime.Tuple2Zipped.coll2$extension" ),
34
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.runtime.Tuple3Zipped.coll1$extension" ),
35
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.runtime.Tuple3Zipped.coll2$extension" ),
36
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.runtime.Tuple3Zipped.coll3$extension" ),
37
+ )
93
38
)
94
39
95
40
val ForwardsBreakingChanges : Map [String , Seq [ProblemFilter ]] = Map (
0 commit comments