13 lines
368 B
Plaintext
13 lines
368 B
Plaintext
=== tests/cases/compiler/destructuringWithNewExpression.ts ===
|
|
class C {
|
|
>C : Symbol(C, Decl(destructuringWithNewExpression.ts, 0, 0))
|
|
|
|
x = 0;
|
|
>x : Symbol(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))
|
|
|