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

Make the source compile with SIP-56 match types, for Scala 3.4. #286

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 27, 2023

  1. Make the source compile with SIP-56 match types, for Scala 3.4.

    Refine the definition of `EnumerationUtil.Aux` to make it comply
    with the legal match types of SIP-56. Although weird, it is the
    "standard" trick for extracting enumeration Value's uner SIP-56.
    
    Refine the result type of `EnumerationReader.findEnumValue` to
    be path-dependent instead of using the match type. It is strictly
    more precise.
    sjrd committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    b8a26a5 View commit details
    Browse the repository at this point in the history