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

Allow case classes with up to 254 parameters #16501

Merged
merged 2 commits into from
Dec 12, 2022

Commits on Dec 11, 2022

  1. Allow case classes with up to 254 parameters

    Required to avoid linear composition of conditions in the `equals` method.
    
    Fixes scala#16500
    odersky committed Dec 11, 2022
    Configuration menu
    Copy the full SHA
    c48037c View commit details
    Browse the repository at this point in the history
  2. Handle stack overflows in Pickler

    The original error case scala#16500 showed an example of deeply nested code
    which blew up TreePickler with a StackOverflow. We now handle this situation
    and provide better error diagnostics
    
     - point to the closes enclosing definition that caused the SO when pickled
     - suggest to increase the stack size with -Xss
    odersky committed Dec 11, 2022
    Configuration menu
    Copy the full SHA
    a48ba99 View commit details
    Browse the repository at this point in the history