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

Backport "Retain default parameters with export" to LTS #21064

Merged
merged 1 commit into from
Jul 5, 2024

Commits on Jul 5, 2024

  1. Retain default parameters with export

    Default parameters need to have the `HasDefault` flag set to work properly, it
    seems that without this flag they were still selected but only under join
    compilation.
    
    While we're at it, we define a full set of flags that might be exported. Note
    that Given/Implicit/Erased were already set by `tpd.DefDef` and Inlined doesn't
    seem to make a difference in practice since the body of the exported inline def
    is manually constructed and doesn't contain proxies either way.
    
    [Cherry-picked 1045571]
    smarter authored and WojciechMazur committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    c875732 View commit details
    Browse the repository at this point in the history