summaryrefslogblamecommitdiff
path: root/test/files/neg/bug2213.check
blob: b24f7dc55481a40d5148731f2c65d447e679717b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                            
bug2213.scala:9: error: class C needs to be abstract, since:
value y in class A of type Int is not defined
value x in class A of type Int is not defined
method g in class A of type => Int is not defined
method f in class A of type => Int is not defined
class C extends A {}
      ^
bug2213.scala:11: error: object creation impossible, since:
value y in class A of type Int is not defined
value x in class A of type Int is not defined
method g in class A of type => Int is not defined
method f in class A of type => Int is not defined
object Q extends A { }
       ^
two errors found