Details

    • Type: Improvement
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Scala 2.10.0
    • Fix Version/s: Scala 2.11.0-M3
    • Component/s: Compiler (Misc)
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

            Show
            retronym Jason Zaugg added a comment - https://github.com/scala/scala/pull/2305

              People

              • Assignee:
                retronym Jason Zaugg
                Reporter:
                retronym Jason Zaugg
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: