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

Add reflect defn.FunctionClass overloads #16849

Merged
merged 1 commit into from
Feb 16, 2023

Commits on Feb 15, 2023

  1. Add reflect defn.FunctionClass overloads

    The old `FunctionClass` will need to be deprecated as we will remove
    `ErasedFunctionN` and `ErasedContextFunctionN`. We will replace this API
    with a simpler version that can return `FunctionN` or `ContextFunctionN`,
    the only two stable function classes we have in the compiler/TASTy.
    
    Other new function classes will be encoded with the more general refined
    function type encoding, generalization of the `PolyFunction` encoding.
    This implies that we won't need to add other kind of function classes to
    the reflect API.
    
    Part of the fix for scala#16847
    nicolasstucki committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    9571b42 View commit details
    Browse the repository at this point in the history