File tree 4 files changed +11
-4
lines changed
src/library/scala/collection
4 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,13 @@ val mimaFilterSettings = Seq(
94
94
ProblemFilters .exclude[MissingClassProblem ](" scala.reflect.runtime.JavaMirrors$JavaMirror$typeTagCache$" ),
95
95
ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.reflect.api.TypeTags.TypeTagImpl" ),
96
96
ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.reflect.api.Universe.TypeTagImpl" ),
97
- ),
97
+ ProblemFilters .exclude[ReversedMissingMethodProblem ](" scala.collection.IterableOnceOps.stepper" ),
98
+ ProblemFilters .exclude[ReversedMissingMethodProblem ](" scala.collection.IterableOnceOps.iterator" ),
99
+ ProblemFilters .exclude[ReversedMissingMethodProblem ](" scala.collection.IterableOnceOps.knownSize" ),
100
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.IterableOnceOps.stepper" ),
101
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.IterableOnceOps.iterator" ),
102
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.collection.IterableOnceOps.knownSize" )
103
+ )
98
104
)
99
105
100
106
// Save MiMa logs
Original file line number Diff line number Diff line change @@ -296,7 +296,8 @@ object IterableOnce {
296
296
* @define coll collection
297
297
*
298
298
*/
299
- trait IterableOnceOps [+ A , + CC [_], + C ] extends Any { this : IterableOnce [A ] =>
299
+ trait IterableOnceOps [+ A , + CC [_], + C ] extends Any with IterableOnce [A ] {
300
+
300
301
// ///////////////////////////////////////////////////////////// Abstract methods that must be implemented
301
302
302
303
/** Produces a $coll containing cumulative results of applying the
Original file line number Diff line number Diff line change 1
1
abstract-report.scala:1: error: class Unimplemented needs to be abstract.
2
2
Missing implementations for 6 members. Stub implementations follow:
3
- // Members declared in scala.collection.IterableOnce
3
+ // Members declared in scala.collection.IterableOnceOps
4
4
def iterator: Iterator[String] = ???
5
5
6
6
// Members declared in scala.collection.IterableOps
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ class Baz[T] extends Collection[T]
54
54
^
55
55
abstract-report2.scala:15: error: class Dingus needs to be abstract.
56
56
Missing implementations for 7 members. Stub implementations follow:
57
- // Members declared in scala.collection.IterableOnce
57
+ // Members declared in scala.collection.IterableOnceOps
58
58
def iterator: Iterator[(Set[Int], String)] = ???
59
59
60
60
// Members declared in scala.collection.IterableOps
You can’t perform that action at this time.
0 commit comments