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

Fix isAliasType #20195

Merged
merged 5 commits into from
Apr 24, 2024
Merged

Fix isAliasType #20195

merged 5 commits into from
Apr 24, 2024

Commits on Apr 15, 2024

  1. Fix isAliasType

    Symbols that had the TypeParam flag set were classified as alias types unless they also had
    the Deferred flag set. Maybe this did not break that much since Namer always added the Deferred
    for type parameters. But export forwarders use synthesized parameters which did not have Deferred
    set.
    odersky committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    7e1c4ca View commit details
    Browse the repository at this point in the history
  2. Use isAbstractOrParamType more

    There were some other occurrences of isAbstractType where it was not clear why
    type parameters should be excluded. Use isAbstractOrParamType as the new default.
    odersky committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    413c667 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Configuration menu
    Copy the full SHA
    a782148 View commit details
    Browse the repository at this point in the history
  2. Drop isAbstractType

    Always use isAbstractorParamType. quotes.reflect still uses isAbstractType for backwards compatibility,
    but it now also includes type parameters. This was the case anyway before for type parameters set up by
    Namer.
    odersky committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    aaacc43 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9d88c80 View commit details
    Browse the repository at this point in the history