File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
compiler/src/dotty/tools/dotc/util Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -84,12 +84,10 @@ object Signatures {
84
84
def toParamss (tp : MethodType )(implicit ctx : Context ): List [List [Param ]] = {
85
85
val rest = tp.resType match {
86
86
case res : MethodType =>
87
- // Hide parameter lists consisting only of CanBuildFrom or DummyImplicit,
88
- // we can remove the CanBuildFrom special-case once we switch to the 2.13 standard library.
87
+ // Hide parameter lists consisting only of DummyImplicit,
89
88
if (res.resultType.isParameterless &&
90
89
res.isImplicitMethod &&
91
90
res.paramInfos.forall(info =>
92
- info.classSymbol.fullName.toString == " scala.collection.generic.CanBuildFrom" ||
93
91
info.classSymbol.derivesFrom(ctx.definitions.DummyImplicitClass )))
94
92
Nil
95
93
else
You can’t perform that action at this time.
0 commit comments