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

Max parameters limitation not relevant with scala 2.11 #280

Closed
Erwan56 opened this Issue Oct 23, 2014 · 1 comment

Comments

Projects
None yet
3 participants
@Erwan56

Erwan56 commented Oct 23, 2014

The following line prevents > 22 parameters classes handling.

if (list.size > 22) throw new CaseClassTooLong(fqn, (decl.namespace map { "{" + _ + "}" } getOrElse {""}) + decl.family.head)

Could it be possible to by pass this condition (version autodetected or parameterized) in 2.11 and keep backwards compatibility with previous versions ?

@mdedetrich

This comment has been minimized.

Show comment
Hide comment
@mdedetrich

mdedetrich Oct 25, 2014

Please respond to this issue here sbt/sbt#1691. Since SBT is stuck using Scala 2.10.x, I think this may still be a relevant issue, although it depends how the code is generated

sbt/sbt#1691

Please respond to this issue here sbt/sbt#1691. Since SBT is stuck using Scala 2.10.x, I think this may still be a relevant issue, although it depends how the code is generated

sbt/sbt#1691

@eed3si9n eed3si9n added the enhancement label Nov 5, 2014

@eed3si9n eed3si9n closed this in 6c6f364 Nov 6, 2014

eed3si9n added a commit that referenced this issue Nov 6, 2014

Merge pull request #287 from eed3si9n/topic/caseclass
Fixes #280. Generate >22 case classes by default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment