diff options
Diffstat (limited to 'test/files/neg/names-defaults-neg-ref.check')
-rw-r--r-- | test/files/neg/names-defaults-neg-ref.check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/names-defaults-neg-ref.check b/test/files/neg/names-defaults-neg-ref.check index 00052c72dc..cdeb186368 100644 --- a/test/files/neg/names-defaults-neg-ref.check +++ b/test/files/neg/names-defaults-neg-ref.check @@ -10,7 +10,7 @@ The members with defaults are defined in class C and class B. class C extends B { ^ names-defaults-neg-ref.scala:21: error: overriding method bar$default$1 in class B of type => String; - method bar$default$1 has incompatible type + method bar$default$1 needs `override' modifier def bar(i: Int = 129083) = i ^ four errors found |