Skip to content

Commit cd2766f

Browse files
committed
No specialization for Function3
1 parent 671c0a9 commit cd2766f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/SpecializeFunctions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class SpecializeFunctions extends MiniPhaseTransform with InfoTransformer {
2222
var newApplys = Map.empty[Name, Symbol]
2323

2424
tp.parents.foreach { parent =>
25-
List(0, 1, 2, 3).foreach { arity =>
25+
List(0, 1, 2).foreach { arity =>
2626
val func = defn.FunctionClass(arity)
2727
if (parent.derivesFrom(func)) {
2828
val typeParams = tp.cls.typeRef.baseType(func).argInfos

0 commit comments

Comments
 (0)