|
| 1 | +=== tests/cases/compiler/assignmentNestedInLiterals.ts === |
| 2 | +var target, x, y; |
| 3 | +>target : Symbol(target, Decl(assignmentNestedInLiterals.ts, 0, 3)) |
| 4 | +>x : Symbol(x, Decl(assignmentNestedInLiterals.ts, 0, 11)) |
| 5 | +>y : Symbol(y, Decl(assignmentNestedInLiterals.ts, 0, 14)) |
| 6 | + |
| 7 | +target = [x = 1, y = x]; |
| 8 | +>target : Symbol(target, Decl(assignmentNestedInLiterals.ts, 0, 3)) |
| 9 | +>x : Symbol(x, Decl(assignmentNestedInLiterals.ts, 0, 11)) |
| 10 | +>y : Symbol(y, Decl(assignmentNestedInLiterals.ts, 0, 14)) |
| 11 | +>x : Symbol(x, Decl(assignmentNestedInLiterals.ts, 0, 11)) |
| 12 | + |
| 13 | +var aegis, a, b; |
| 14 | +>aegis : Symbol(aegis, Decl(assignmentNestedInLiterals.ts, 3, 3)) |
| 15 | +>a : Symbol(a, Decl(assignmentNestedInLiterals.ts, 3, 10)) |
| 16 | +>b : Symbol(b, Decl(assignmentNestedInLiterals.ts, 3, 13)) |
| 17 | + |
| 18 | +aegis = { x: a = 1, y: b = a }; |
| 19 | +>aegis : Symbol(aegis, Decl(assignmentNestedInLiterals.ts, 3, 3)) |
| 20 | +>x : Symbol(x, Decl(assignmentNestedInLiterals.ts, 4, 9)) |
| 21 | +>a : Symbol(a, Decl(assignmentNestedInLiterals.ts, 3, 10)) |
| 22 | +>y : Symbol(y, Decl(assignmentNestedInLiterals.ts, 4, 19)) |
| 23 | +>b : Symbol(b, Decl(assignmentNestedInLiterals.ts, 3, 13)) |
| 24 | +>a : Symbol(a, Decl(assignmentNestedInLiterals.ts, 3, 10)) |
| 25 | + |
0 commit comments