You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests/pos/javaReadsSigs/fromjava.java still imported old collections
doc-tool/test/dotty/tools/dottydoc/WhitelistedStdLib.scala and GenCollections depended on the removed scala 2 library
// [partest] files/pos/javaReadsSigs/fromjava.java:62: name clash: sum(scala.collection.Traversable<A>) and <T>sum(scala.collection.Traversable<T>) have the same erasure
65
-
// [partest] public static B sum(Traversable<A> x) {
65
+
// [partest] files/pos/javaReadsSigs/fromjava.java:62: name clash: sum(scala.collection.Iterable<A>) and <T>sum(scala.collection.Iterable<T>) have the same erasure
66
+
// [partest] public static B sum(Iterable<A> x) {
66
67
// [partest] ^
67
68
//
68
69
//
69
-
// can't make this work with an actual CanBuildFrom: see #4389.
70
-
// public static B sum(Traversable<A> x) {
71
-
// // have to cast it unfortunately: map in TraversableLike returns
70
+
// can't make this work with an actual BuildFrom: see #4389.
71
+
// public static B sum(Iterable<A> x) {
72
+
// // have to cast it unfortunately: map in IterableLike returns
72
73
// // "That" and such types seem to be signature poison.
0 commit comments