You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scala>traitMassiveFn { defapply(a:Int,b:Int,c:Int,d:Int,e:Int,f:Int,g:Int,h:Int,i:Int,j:Int,k:Int,l:Int,m:Int,n:Int,o:Int,p:Int,q:Int,r:Int,s:Int,t:Int,u:Int,v:Int,w:Int,x:Int,y:Int,z:Int):Int }
defined traitMassiveFn
scala>valx:MassiveFn= (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z) =>1
<console>:12:error: implementation restricts functions to 22 parameters
valx:MassiveFn= (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z) =>1
^
The implementation restriction should be that you can't make scala.FunctionN for N > 22, but if you have a SAM with enough parameters you should be fine.
The implementation restriction should be that you can't make
scala.FunctionN
forN
> 22, but if you have a SAM with enough parameters you should be fine.Ditto for eta expansion:
The text was updated successfully, but these errors were encountered: