mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
419 B
Plaintext
15 lines
419 B
Plaintext
//// [tests/cases/compiler/destructuringWithNewExpression.ts] ////
|
|
|
|
=== destructuringWithNewExpression.ts ===
|
|
class C {
|
|
>C : Symbol(C, Decl(destructuringWithNewExpression.ts, 0, 0))
|
|
|
|
x = 0;
|
|
>x : Symbol(C.x, Decl(destructuringWithNewExpression.ts, 0, 9))
|
|
}
|
|
|
|
var { x } = new C;
|
|
>x : Symbol(x, Decl(destructuringWithNewExpression.ts, 4, 5))
|
|
>C : Symbol(C, Decl(destructuringWithNewExpression.ts, 0, 0))
|
|
|