mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
22 lines
487 B
Plaintext
22 lines
487 B
Plaintext
//// [tests/cases/compiler/constructorPropertyJs.ts] ////
|
|
|
|
=== /a.js ===
|
|
class C {
|
|
>C : Symbol(C, Decl(a.js, 0, 0))
|
|
|
|
/**
|
|
* @param {any} a
|
|
*/
|
|
foo(a) {
|
|
>foo : Symbol(C.foo, Decl(a.js, 0, 9))
|
|
>a : Symbol(a, Decl(a.js, 4, 8))
|
|
|
|
this.constructor = a;
|
|
>this.constructor : Symbol(C.constructor, Decl(a.js, 4, 12))
|
|
>this : Symbol(C, Decl(a.js, 0, 0))
|
|
>constructor : Symbol(C.constructor, Decl(a.js, 4, 12))
|
|
>a : Symbol(a, Decl(a.js, 4, 8))
|
|
}
|
|
}
|
|
|