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

Use -Yscala2-library-tasty to add Scala 2 lib TASTY to scalac (internal only) #18613

Commits on Sep 29, 2023

  1. Use -Ystdlib to add Scala 2 lib TASTY to scalac (internal only)

    This flag only works on the `scala3-bootstrapped/scalac` in the dotty
    project. It is intended for internal testing.
    
    Currently it is a bit expensive to compile the Scala 2 library TASTy.
    One reason in for this is that we need to use `-Ycheck:all` when
    compiling it to make sure that `-Yscala2-stdlib` is working properly.
    
    We only allow `scala3-bootstrapped/scalac` and not `scalac` to have this
    dependency for two reasons. First, we do want to be able to compile and
    run `scalac` command fast to reduce development testing time. Second, we
    do not have a stable enough version of the Scala 2 library TASTy yet.
    
    We also do not enable the Scala 2 library TASTy by default on
    `scala3-bootstrapped/scalac` because we still need this command to test
    against the current version of the library. Stability is also a concern
    for this version of the command.
    nicolasstucki committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    4d03e49 View commit details
    Browse the repository at this point in the history