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 scala2-library-cc-tasty project #18967

Merged

Commits on Dec 21, 2023

  1. Add scala2-library-cc-tasty project

    We can override the sources of the standard library with cc annotation
    in this project and generate a TASTy version of the standard library.
    
    Usage:
    ```
    sbt> set ThisBuild/Build.scala2Library := Build.Scala2LibraryCCTasty
    sbt> scala3-bootstrapped/testCompilation
    sbt> scala3-bootstrapped/test
    sbt> scala3-bootstrapped/run ...
    ```
    nicolasstucki committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    a8d807b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e1efffd View commit details
    Browse the repository at this point in the history
  3. Add capture checking to scala/language.scala

    Note that to compile this version of the library we do not patch the
    library with `scala.runtime.stdLibPatches`.
    nicolasstucki committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    af897ca View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d0c4817 View commit details
    Browse the repository at this point in the history
  5. Move sources from tests/pos-special/stdlib to scala2-library-cc

    Also reduce diff with the original Scala 2 library sources.
    nicolasstucki committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    5c6e542 View commit details
    Browse the repository at this point in the history