Skip to content
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

Prepare scripted tests for Scala 3 #11700

Merged
merged 1 commit into from
Mar 7, 2023

Conversation

mkurz
Copy link
Member

@mkurz mkurz commented Mar 7, 2023

Nothing special, just Scala 2 vs Scala 3 compiler output / exception messages sometimes differ a little from each other.
Also adjust compiler flags.
Split out from #11551

@mkurz mkurz added the scala3 label Mar 7, 2023
@mkurz mkurz marked this pull request as ready for review March 7, 2023 15:28
@mkurz mkurz merged commit 35851b4 into playframework:main Mar 7, 2023
@mkurz mkurz deleted the prepare_scripted_tests_scala3 branch March 7, 2023 16:08
"-Ywarn-value-discard",
)
case _ => Seq(
"-Wvalue-discard"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes Scala 3 require a () at the end of the function when it should not return a value, see #11701

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

Successfully merging this pull request may close these issues.

None yet

1 participant