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

Remove arity limit for case classes #7296

Closed
scabug opened this Issue Mar 24, 2013 · 2 comments

Comments

Projects
None yet
2 participants
@scabug
Copy link

scabug commented Mar 24, 2013

Currently, case classes can't venture past 22 parameters, because they the companion class of can't find suitable FunctionN and TupleN instances for the apply/unapply methods.

But these are arguably the least important features of case classes, and we can make all the others (including pattern matching) work perfectly without them.

There was some understandable fear of the piecemeal when I tabled this on scala-internals (https://groups.google.com/forum/#!topic/scala-internals/RRu5bppi16Y). But I'm convinced this is an area where we can endeavour to inflict less pain.

@scabug

This comment has been minimized.

Copy link

scabug commented Mar 24, 2013

Imported From: https://issues.scala-lang.org/browse/SI-7296?orig=1
Reporter: @retronym
Affected Versions: 2.10.0
See #7099

@scabug

This comment has been minimized.

Copy link

scabug commented Mar 25, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment