Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Scala 2.10.0
    • Fix Version/s: Scala 2.11.0-M3
    • Component/s: Misc Compiler
    • 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.

        Issue Links

          Activity

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development