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 roundtrip check to support 5.1 <-> 5.2 migrations #519

Merged
merged 2 commits into from
Sep 23, 2024

Commits on Sep 4, 2024

  1. Fix roundtrip check to support 5.1 <-> 5.2 migrations

    Printing to source code and parsing with the compiler before
    running the upward migration is expected to fail because on compilers
    older than 5.2, `fun x y -> z` and `fun x -> fun y -> z` parse to
    the same AST.
    
    We therefore need to first migrate it to the compiler version before
    printing it.
    
    Signed-off-by: Nathan Rebours <[email protected]>
    NathanReb committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    1625f9e View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. Document the round-trip procedure in Code_matcher

    Signed-off-by: Nathan Rebours <[email protected]>
    NathanReb committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    061c47b View commit details
    Browse the repository at this point in the history