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 "Check user defined PolyFunction refinements " to LTS #20700

Merged
merged 2 commits into from
Jun 20, 2024

Commits on Jun 20, 2024

  1. Check user defined PolyFunction refinements

    `PolyFunction` must be refined with an `apply` method that has a single
    parameter list with no by-name nor varargs parameters. It may optionally
    have type parameters. Some of these restrictions could be lifted later,
    but for now these features are not properly handled by the compiler.
    
    Fixes #8299
    Fixes #18302
    
    [Cherry-picked e5ca0c4][modified]
    WojciechMazur committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    82ff24f View commit details
    Browse the repository at this point in the history
  2. Add isMethodWithByNameArgs

    [Cherry-picked 9966ced]
    nicolasstucki authored and WojciechMazur committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    54f5421 View commit details
    Browse the repository at this point in the history