18 lines
483 B
Plaintext
18 lines
483 B
Plaintext
|
==== tests/cases/conformance/parser/ecmascript5/SuperExpressions/parserSuperExpression4.ts (2 errors) ====
|
||
|
class C {
|
||
|
private foo() {
|
||
|
super.foo = 1
|
||
|
~~~~~
|
||
|
!!! 'super' can only be referenced in a derived class.
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module M1.M2 {
|
||
|
class C {
|
||
|
private foo() {
|
||
|
super.foo = 1
|
||
|
~~~~~
|
||
|
!!! 'super' can only be referenced in a derived class.
|
||
|
}
|
||
|
}
|
||
|
}
|