22 lines
No EOL
833 B
Text
22 lines
No EOL
833 B
Text
tests/cases/conformance/parser/ecmascript5/SuperExpressions/parserSuperExpression4.ts(3,9): error TS2335: 'super' can only be referenced in a derived class.
|
|
tests/cases/conformance/parser/ecmascript5/SuperExpressions/parserSuperExpression4.ts(10,13): error TS2335: 'super' can only be referenced in a derived class.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/SuperExpressions/parserSuperExpression4.ts (2 errors) ====
|
|
class C {
|
|
private foo() {
|
|
super.foo = 1
|
|
~~~~~
|
|
!!! error TS2335: 'super' can only be referenced in a derived class.
|
|
}
|
|
}
|
|
|
|
module M1.M2 {
|
|
class C {
|
|
private foo() {
|
|
super.foo = 1
|
|
~~~~~
|
|
!!! error TS2335: 'super' can only be referenced in a derived class.
|
|
}
|
|
}
|
|
} |