Skip to content

Conversation

@WojciechMazur
Copy link
Contributor

Fixes #16969

String.formatted is a method added in JDK 15. In Scala, we also define the extension methods with the same name. Because of that the code in the snippet failed in unexpected manner.

…ormatted` is a deprecated Scala extension method and a function with a the same was added to String in JDK15
@smarter smarter enabled auto-merge February 20, 2023 15:41
@smarter smarter merged commit e65f6a6 into scala:main Feb 20, 2023
@WojciechMazur WojciechMazur deleted the fix/nighlty-build-on-jdk8 branch March 14, 2023 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nightly Dotty workflow of 2023-02-20 failed

2 participants