Fixing tests, no review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@25981 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
608b3cb74d
commit
a36a3e58f1
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue