You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code in the repo compiles fine in presence of sbt compileOrder := CompileOrder.ScalaThenJava settings. If it's removed, it is not compiling anymore (same as in 2.13.14).
Output
[error] --Error:/home/ssn/code/scala/scala-annotations-java/src/main/java/scalac/issues/AnnotatedRecord.java:7:12
[error] 7| java.util.@jakarta.validation.ValidOptional<scalac[email protected] UserId> userId) {};
[error] |^^^^
[error] | identifier expected but @ found.
[error] --Error:/home/ssn/code/scala/scala-annotations-java/src/main/java/scalac/issues/AnnotatedRecord.java:8:0
[error] 8|
[error] |^^^^^^
[error] |identifier expected but eof found.
[error] two errors found
Expectation
Code compiles
The text was updated successfully, but these errors were encountered:
Compiler version
3.3.4
Minimized code
https://github.com/msosnicki/scala-annotations-java-issue
Piece of code that contains errors:
The code in the repo compiles fine in presence of sbt compileOrder := CompileOrder.ScalaThenJava settings. If it's removed, it is not compiling anymore (same as in
2.13.14
).Output
Expectation
Code compiles
The text was updated successfully, but these errors were encountered: