12 lines
368 B
Text
12 lines
368 B
Text
=== 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))
|
|
|