-
Notifications
You must be signed in to change notification settings - Fork 21
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
scalac should respect JEP 409 "Sealed Classes" at compile time #12171
Closed
xuwei-k opened this issue
Sep 30, 2020
· 4 comments
· Fixed by scala/scala#10105 or scala/scala#10348
Closed
scalac should respect JEP 409 "Sealed Classes" at compile time #12171
xuwei-k opened this issue
Sep 30, 2020
· 4 comments
· Fixed by scala/scala#10105 or scala/scala#10348
Comments
it would make sense to tackle this and #12159 together |
Volunteer to pick up scala/scala#9228 and run with it? |
SethTisue
changed the title
scalac should be reject in compile time for extends JEP 360 "Sealed Classes"
scalac should respect JEP 360 "Sealed Classes" at compile time
Oct 16, 2021
SethTisue
changed the title
scalac should respect JEP 360 "Sealed Classes" at compile time
scalac should respect JEP 409 "Sealed Classes" at compile time
Aug 10, 2022
Note that on JDK 17, The non-preview version of the JEP is at https://openjdk.org/jeps/409 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
reproduction steps
java --version
A.java
Main.scala
build.sbt
project/build.properties
sbt.version=1.3.13
problem
runtime error 😢
sbt -J--enable-preview run
The text was updated successfully, but these errors were encountered: