We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e2714e commit 58a14e8Copy full SHA for 58a14e8
tests/warn/i17493.scala
@@ -1,5 +1,5 @@
1
//> using options -explain
2
- class A(val s: String) extends AnyVal {
+class A(val s: String) extends AnyVal {
3
// def f = eq("hello, world") // no warning for now because `eq` is inlined
4
def g = synchronized { println("hello, world") } // warn
5
- }
+}
0 commit comments