mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
//// [tests/cases/compiler/collisionSuperAndLocalFunctionInProperty.ts] ////
|
|
|
|
=== collisionSuperAndLocalFunctionInProperty.ts ===
|
|
function _super() { // No error
|
|
>_super : Symbol(_super, Decl(collisionSuperAndLocalFunctionInProperty.ts, 0, 0))
|
|
}
|
|
class Foo {
|
|
>Foo : Symbol(Foo, Decl(collisionSuperAndLocalFunctionInProperty.ts, 1, 1))
|
|
|
|
public prop1 = {
|
|
>prop1 : Symbol(Foo.prop1, Decl(collisionSuperAndLocalFunctionInProperty.ts, 2, 11))
|
|
|
|
doStuff: () => {
|
|
>doStuff : Symbol(doStuff, Decl(collisionSuperAndLocalFunctionInProperty.ts, 3, 19))
|
|
|
|
function _super() { // No error
|
|
>_super : Symbol(_super, Decl(collisionSuperAndLocalFunctionInProperty.ts, 4, 24))
|
|
}
|
|
}
|
|
}
|
|
}
|
|
class b extends Foo {
|
|
>b : Symbol(b, Decl(collisionSuperAndLocalFunctionInProperty.ts, 9, 1))
|
|
>Foo : Symbol(Foo, Decl(collisionSuperAndLocalFunctionInProperty.ts, 1, 1))
|
|
|
|
public prop2 = {
|
|
>prop2 : Symbol(b.prop2, Decl(collisionSuperAndLocalFunctionInProperty.ts, 10, 21))
|
|
|
|
doStuff: () => {
|
|
>doStuff : Symbol(doStuff, Decl(collisionSuperAndLocalFunctionInProperty.ts, 11, 20))
|
|
|
|
function _super() { // error
|
|
>_super : Symbol(_super, Decl(collisionSuperAndLocalFunctionInProperty.ts, 12, 24))
|
|
}
|
|
}
|
|
}
|
|
}
|