Skip to content
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
Closed

Remove arity limit for case classes #7296

scabug opened this issue Mar 24, 2013 · 2 comments
Assignees
Milestone

Comments

@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
Copy link
Author

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
Copy link
Author

scabug commented Mar 25, 2013

@retronym said:
scala/scala#2305

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

No branches or pull requests

2 participants