summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
Diffstat (limited to 'test/files')
-rw-r--r--test/files/neg/names-defaults-neg-ref.check2
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 cdeb186368..00052c72dc 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 needs `override' modifier
+ method bar$default$1 has incompatible type
def bar(i: Int = 129083) = i
^
four errors found