blob: 5e47c69ed8ca8a556d5e0d62c971c3436fd3d440 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
sealed-final-neg.scala:17: warning: neg1/Foo::bar(I)I is annotated @inline but could not be inlined:
The method is not final and may be overridden.
def f = Foo.mkFoo() bar 10
^
sealed-final-neg.scala:37: warning: neg2/Foo::bar(I)I is annotated @inline but could not be inlined:
The method is not final and may be overridden.
def f = Foo.mkFoo() bar 10
^
error: No warnings can be incurred under -Xfatal-warnings.
two warnings found
one error found
|