blob: 3ff7d67cc3675ec1351bb6ada07ab60d68ae7684 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
names-defaults-neg-warn.scala:11: warning: the parameter name s is deprecated: use x instead
deprNam2.f(s = "dlfkj")
^
names-defaults-neg-warn.scala:12: warning: the parameter name x is deprecated: use s instead
deprNam2.g(x = "dlkjf")
^
error: No warnings can be incurred under -Xfatal-warnings.
two warnings found
one error found
|