Closed scabug closed 13 years ago
Imported From: https://issues.scala-lang.org/browse/SI-3631?orig=1 Reporter: Eugene Yokota (eed3si9n) Attachments:
@paulp said: It should fail more gracefully, but it's still going to fail. Many things have an arity limit of 22 (tuples, products, functions, and anything which derives from them, like case classes.) "java.lang.ArrayIndexOutOfBoundsException: 24" is a pretty good sign you are in the red zone.
Eugene Yokota (eed3si9n) said: Replying to [comment:1 extempore]:
Many things have an arity limit of 22
That makes sense. I was expecting value Tuple23 is not a member of package scala
when there are more than 22 params on a case class, but I guess there are more than one way for this limitation to present itself.
@paulp said: (In r22466) Fail more gracefully on > 22 case class parameters. Closes #3631, no review.
Build:
Scala version 2.8.0.r22424-b20100630020140 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_20).
Note: xhtml1-strict.scala was generated from the schema of XHTML using my private build of [http://scalaxb.org/ scalaxb], so it's a little big. There may be some issue with the generated code, but I can't tell from the error message.
Steps:
Problem: