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 {
8484 def toParamss (tp : MethodType )(implicit ctx : Context ): List [List [Param ]] = {
8585 val rest = tp.resType match {
8686 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,
8988 if (res.resultType.isParameterless &&
9089 res.isImplicitMethod &&
9190 res.paramInfos.forall(info =>
92- info.classSymbol.fullName.toString == " scala.collection.generic.CanBuildFrom" ||
9391 info.classSymbol.derivesFrom(ctx.definitions.DummyImplicitClass )))
9492 Nil
9593 else
You can’t perform that action at this time.
0 commit comments