18 lines
No EOL
483 B
Text
18 lines
No EOL
483 B
Text
==== 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.
|
|
}
|
|
}
|
|
} |