File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
library/src/scala/tasty/reflect Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1631,23 +1631,24 @@ trait Printers
16311631 case Type .IsMethodType (tpe) =>
16321632 this += " ("
16331633 printList(tpe.paramNames.zip(tpe.paramTypes), " , " ,
1634- (paramName, paramType) => (this += paramName += " : " ).printType(paramType ))
1634+ (x : ( String , Type )) => (this += x._1 += " : " ).printType(x._2 ))
16351635 this += " )"
16361636 printType(tpe.resType)
16371637
16381638 case Type .IsPolyType (tpe) =>
16391639 this += " ["
16401640 printList(tpe.paramNames.zip(tpe.paramBounds), " , " ,
1641- (paramName, paramBound) => (this += paramName += " " ).printTypeOrBound(paramBound ))
1641+ (x : ( String , TypeBounds )) => (this += x._1 += " " ).printTypeOrBound(x._2 ))
16421642 this += " ]"
16431643 printType(tpe.resType)
16441644
16451645 case Type .IsTypeLambda (tpe) =>
16461646 this += " ["
16471647 printList(tpe.paramNames.zip(tpe.paramBounds), " , " ,
1648- (paramName, paramBound) => (this += paramName += " " ).printTypeOrBound(paramBound ))
1648+ (x : ( String , TypeBounds )) => (this += x._1 += " " ).printTypeOrBound(x._2 ))
16491649 this += " ] => "
16501650 printType(tpe.resType)
1651+
16511652 case _ =>
16521653 throw new MatchError (tpe.showExtractors)
16531654 }
You can’t perform that action at this time.
0 commit comments