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

Use scala.jdk converter also for Scala 3 in twirl templates #11748

Merged

Conversation

mkurz
Copy link
Member

@mkurz mkurz commented Apr 5, 2023

Just bumped into that when using -Werror/-Xfatal-warnings in Scala 3.

@mkurz mkurz added the scala3 label Apr 5, 2023
@@ -109,7 +109,7 @@ object BuildSettings {
// disable the new scaladoc feature for scala 2.12+ (https://github.com/scala/scala-dev/issues/249 and https://github.com/scala/bug/issues/11340)
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, v)) if v >= 12 => Seq("-no-java-comments")
case _ => Seq()
case _ => Seq() // Not available/needed in Scala 3 according to https://github.com/lampepfl/dotty/issues/11907
Copy link
Member Author

Choose a reason for hiding this comment

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

@mkurz mkurz merged commit bf04582 into playframework:main Apr 5, 2023
29 checks passed
@mkurz mkurz deleted the correct_twirt_converter_import_scala3 branch April 5, 2023 22:38
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