New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiler crashes while normalizing function prototypes with more than 30 parameters. #1543
Labels
Comments
Solution is proposed here. |
But it still looks like prototypes are too tightly bound to |
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Oct 3, 2016
With this change it is possible to have create types for funtions of any arity. This ensures that the compiler will not crash when creating FunProto when typing a method application method applications with more than MaxFunctionArity parameters. Note that in the language the functions are still bound to MaxFunctionArity, but this is a first small step towards supporting any function arity.
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Oct 3, 2016
With this change it is possible to have create types for funtions of any arity. This ensures that the compiler will not crash when creating FunProto when typing a method application method applications with more than MaxFunctionArity parameters. Note that in the language the functions are still bound to MaxFunctionArity, but this is a first small step towards supporting any function arity.
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Oct 3, 2016
With this change it is possible to have create types for functions of any arity. This ensures that the compiler will not crash when creating FunProto when typing a method application method applications with more than MaxFunctionArity parameters. Note that in the language the functions are still bound to MaxFunctionArity, but this is a first small step towards supporting any function arity.
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Oct 3, 2016
With this change it is possible to have create types for functions of any arity. This ensures that the compiler will not crash when creating FunProto when typing a method application method applications with more than MaxFunctionArity parameters. Note that in the language the functions are still bound to MaxFunctionArity, but this is a first small step towards supporting any function arity.
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Oct 11, 2016
odersky
added a commit
that referenced
this issue
Oct 13, 2016
Fix #1543: Ignore IgnoredProto when normalizing method application.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note: Currently function classes go up to 30 in dotty as a quick fix.
The text was updated successfully, but these errors were encountered: