Skip to content

Can/should I use both -Xsource:3 and -source:3.0-migration in a cross-compiled codebase? #17591

Discussion options

You must be logged in to vote

If you're cross-compiling, then I think -Xsource:3 isn't a problem because the things it reject will also be rejected by Scala 3 anyway, and it will mean you can use new syntax, but it's not a big deal either way.

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@armanbilge
Comment options

@smarter
Comment options

@armanbilge
Comment options

@smarter
Comment options

Answer selected by ckipp01
@som-snytt
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants