Skip to content

Use setting to enable Scala2 library TASTy in scala3-bootstrapped #18730

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

Conversation

nicolasstucki
Copy link
Contributor

Enabling this setting will add the Scala2 library TASTy JAR from scala2-library-tasty to the Scala3 bootstrapped classpath. It can be used to compile using scala3-bootstrapped/scalac or run any tests in scala3-bootstrapped.

Example usage:

sbt> set ThisBuild/Build.useScala2LibraryTasty := true
sbt> scala3-bootstrapped/scalac
sbt> scala3-bootstrapped/testCompilation

Enabling this setting will add the Scala2 library TASTy JAR from
`scala2-library-tasty` to the Scala3 bootstrapped classpath. It can be
used to compile using `scala3-bootstrapped/scalac` or run any tests in
`scala3-bootstrapped`.

Example usage:
```
sbt> set ThisBuild/Build.useScala2LibraryTasty := true
sbt> scala3-bootstrapped/scalac
sbt> scala3-bootstrapped/testCompilation
```
@nicolasstucki nicolasstucki merged commit db39e36 into scala:main Oct 20, 2023
@nicolasstucki nicolasstucki deleted the use-setting-to-enable-scala2-library-tasty branch October 20, 2023 09:40
nicolasstucki added a commit that referenced this pull request Oct 20, 2023
If the value of `useScala2LibraryTasty` is `true`, it does not imply
that we have a jar for `scala2-library-tasty`.

Bug introduced in #18730.
@Kordyjan Kordyjan added this to the 3.4.0 milestone Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants