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

silence some warnings in test code #10748

Merged
merged 1 commit into from Apr 10, 2024
Merged

Conversation

SethTisue
Copy link
Member

one of them involves a JDK 22 deprecation warning, so it was failing the build now that we've added JDK 22 to the matrix

@SethTisue SethTisue added the internal not resulting in user-visible changes (build changes, tests, internal cleanups) label Apr 10, 2024
@SethTisue SethTisue added this to the 2.13.14 milestone Apr 10, 2024
@SethTisue SethTisue self-assigned this Apr 10, 2024
@@ -232,13 +232,14 @@ object TermConstructionProps extends QuasiquoteProperties("term construction") {
object O
implicit val liftO = Liftable[O.type] { _ => q"foo; bar" }
assertEqAst(q"f(..$O)", "f(foo, bar)")
}
}: @annotation.nowarn("cat=unused-locals")
Copy link
Member Author

Choose a reason for hiding this comment

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

@som-snytt seems like a false positive, wdyt?

Copy link
Contributor

Choose a reason for hiding this comment

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

that looks familiar but I can't find a ticket.

@SethTisue SethTisue merged commit 18b61a9 into scala:2.13.x Apr 10, 2024
3 checks passed
@SethTisue SethTisue deleted the fix-jdk22 branch April 10, 2024 03:29
@som-snytt
Copy link
Contributor

@SethTisue thanks, today I broke down and added those parens. Or no I didn't, I nowarned it.

https://github.com/scala/scala/pull/10740/files#diff-f7f36f06125648e5779fe9c6558620281a889db927b806152695ab6ff2387c46R138

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal not resulting in user-visible changes (build changes, tests, internal cleanups)
Projects
None yet
2 participants