15 lines
No EOL
551 B
Text
15 lines
No EOL
551 B
Text
tests/cases/compiler/collisionSuperAndParameter1.ts(6,23): error TS2401: Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference.
|
|
|
|
|
|
==== tests/cases/compiler/collisionSuperAndParameter1.ts (1 errors) ====
|
|
class Foo {
|
|
}
|
|
|
|
class Foo2 extends Foo {
|
|
x() {
|
|
var lambda = (_super: number) => { // Error
|
|
~~~~~~~~~~~~~~
|
|
!!! error TS2401: Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference.
|
|
}
|
|
}
|
|
} |