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

Don't re-balance AndTypes arising from supertypes #20400

Merged
merged 1 commit into from
May 26, 2024

Commits on May 19, 2024

  1. Don't re-balance AndTypes arising from supertypes

    scala#20284 started breaking since we now balance AndTypes to avoid performance drops.
    But (re-)balancing an AndType interferes with the logic that determines which
    symbol is referred by a super select. This is fixed by two changes:
    
     - Form types of super with `AndType` instead of `&`
     - Don't simplify types of super since that would rebalance the underlying AndTypes.
    
    Fixes scala#20284
    odersky committed May 19, 2024
    Configuration menu
    Copy the full SHA
    f0560b2 View commit details
    Browse the repository at this point in the history