Skip to content

Commit 2217d34

Browse files
Use tpd.Tree
Co-authored-by: Nicolas Stucki <[email protected]>
1 parent d3f442f commit 2217d34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/reporting/messages.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2345,7 +2345,7 @@ class UnqualifiedCallToAnyRefMethod(stat: untpd.Tree, method: Symbol)(using Cont
23452345
|you intended."""
23462346
}
23472347

2348-
class SynchronizedCallOnBoxedClass(stat: untpd.Tree)(using Context)
2348+
class SynchronizedCallOnBoxedClass(stat: tpd.Tree)(using Context)
23492349
extends Message(SynchronizedCallOnBoxedClassID) {
23502350
def kind = MessageKind.PotentialIssue
23512351
def msg(using Context) = i"Suspicious ${hl("synchronized")} call on boxed class"

0 commit comments

Comments
 (0)