We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From https://docs.scala-lang.org/overviews/compiler-options/index.html#targeting-a-version-of-the-jvm:
Targeting a version of the JVM Applications or libraries targeting the JVM may wish to specify a target version. The -release option specifies the target version, such as “8” or “18”.
Applications or libraries targeting the JVM may wish to specify a target version.
The -release option specifies the target version, such as “8” or “18”.
-release
But, on the other hand, from https://docs.scala-lang.org/overviews/compiler-options/index.html#:~:text=%2Drelease%20RELEASE%20or%20%2D%2Drelease%20RELEASE:
-release RELEASE or --release RELEASE Compile for a specific version of the Java platform. Supported targets: 6, 7, 8, 9
-release RELEASE
--release RELEASE
So what are the supported targets? Only 6, 7, 8 and 9? Or also others?
The text was updated successfully, but these errors were encountered:
Just discovered scala/scala#9982, having a look.
Sorry, something went wrong.
The confusion duplicates #1711
Worth adding, scalac -help is authoritative.
scalac -help
No branches or pull requests
From https://docs.scala-lang.org/overviews/compiler-options/index.html#targeting-a-version-of-the-jvm:
But, on the other hand, from https://docs.scala-lang.org/overviews/compiler-options/index.html#:~:text=%2Drelease%20RELEASE%20or%20%2D%2Drelease%20RELEASE:
So what are the supported targets? Only 6, 7, 8 and 9? Or also others?
The text was updated successfully, but these errors were encountered: