blob: f59503ee2ad2ff1b479dac6458b234ab4191f559 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
t2213.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 {}
^
t2213.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
|