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