@@ -53,9 +53,7 @@ object GenColCompatHelper {
53
53
|
54
54
| type Factory[-A, +C] = scala.collection.Factory[A, C]
55
55
|
56
- | object Factory {
57
- | $$DOTTY_CONVERSION_METHODS$$
58
- | }
56
+ | object Factory {}
59
57
|
60
58
| def className(col: scala.collection.Iterable[_]): String = {
61
59
| val colToString = col.toString
@@ -71,10 +69,7 @@ object GenColCompatHelper {
71
69
| type StringOps = scala.collection.StringOps
72
70
|}
73
71
|
74
- """ .replaceAllLiterally(
75
- " $$DOTTY_CONVERSION_METHODS$$" ,
76
- if (ScalaVersionHelper .isDotty(scalaVersion)) dottyColCompatHelperFactoryMethods else " " )
77
- .stripMargin
72
+ """ .stripMargin
78
73
else
79
74
""" /*
80
75
| * Copyright 2001-2018 Artima, Inc.
@@ -142,20 +137,6 @@ object GenColCompatHelper {
142
137
)
143
138
}
144
139
145
- private def dottyColCompatHelperFactoryMethods : String = """
146
- | implicit def mkFactoryFromList[A]: Conversion[scala.collection.immutable.List.type, scala.collection.Factory[A, scala.collection.immutable.List[A]]] =
147
- | scala.collection.IterableFactory.toFactory(_)
148
- |
149
- | implicit def mkFactoryFromVector[A]: Conversion[scala.collection.immutable.Vector.type, scala.collection.Factory[A, scala.collection.immutable.Vector[A]]] =
150
- | scala.collection.IterableFactory.toFactory(_)
151
- |
152
- | implicit def mkFactoryFromSet[A]: Conversion[scala.collection.immutable.Set.type, scala.collection.Factory[A, scala.collection.immutable.Set[A]]] =
153
- | scala.collection.IterableFactory.toFactory(_)
154
- |
155
- | implicit def mkFactoryFromListBuffer[A]: Conversion[scala.collection.mutable.ListBuffer.type, scala.collection.Factory[A, scala.collection.mutable.ListBuffer[A]]] =
156
- | scala.collection.IterableFactory.toFactory(_)
157
- """ .stripMargin
158
-
159
140
def genTest (targetDir : File , version : String , scalaVersion : String ): Seq [File ] = {
160
141
val chainSpec =
161
142
if (ScalaVersionHelper .isStdLibCompat_213(scalaVersion))
0 commit comments