Skip to content

Commit

Permalink
Merge pull request #1212 from utwente-fmt/fix-1146
Browse files Browse the repository at this point in the history
Fix build on JDK 21+, resolves #1146
  • Loading branch information
pieter-bos authored Jun 5, 2024
2 parents 8fdabe4 + 59de835 commit 8627a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/scala/meta/ResultStream.scala
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ object ResultStream {
case Function(fn) =>
if (
fn.getClass.getName.startsWith(
"scala.meta.internal.prettyprinters.TreeSyntax$SyntaxInstances$$Lambda$"
"scala.meta.internal.prettyprinters.TreeSyntax$SyntaxInstances$$Lambda"
)
) {
// Currently the only instance: prepends a space if the surrounding output is dangerous.
Expand Down

0 comments on commit 8627a3f

Please sign in to comment.