1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
|
=== tests/cases/compiler/es5-asyncFunctionObjectLiterals.ts ===
declare var x, y, z, a, b, c;
>x : Symbol(x, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 11))
>y : Symbol(y, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 14))
>z : Symbol(z, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 17))
>a : Symbol(a, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 20))
>b : Symbol(b, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 23))
>c : Symbol(c, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 26))
async function objectLiteral0() {
>objectLiteral0 : Symbol(objectLiteral0, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 29))
x = {
>x : Symbol(x, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 11))
a: await y,
>a : Symbol(a, Decl(es5-asyncFunctionObjectLiterals.ts, 3, 9))
>y : Symbol(y, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 14))
b: z
>b : Symbol(b, Decl(es5-asyncFunctionObjectLiterals.ts, 4, 19))
>z : Symbol(z, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 17))
};
}
async function objectLiteral1() {
>objectLiteral1 : Symbol(objectLiteral1, Decl(es5-asyncFunctionObjectLiterals.ts, 7, 1))
x = {
>x : Symbol(x, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 11))
a: y,
>a : Symbol(a, Decl(es5-asyncFunctionObjectLiterals.ts, 10, 9))
>y : Symbol(y, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 14))
b: await z
>b : Symbol(b, Decl(es5-asyncFunctionObjectLiterals.ts, 11, 13))
>z : Symbol(z, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 17))
};
}
async function objectLiteral2() {
>objectLiteral2 : Symbol(objectLiteral2, Decl(es5-asyncFunctionObjectLiterals.ts, 14, 1))
x = {
>x : Symbol(x, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 11))
[await a]: y,
>[await a] : Symbol([await a], Decl(es5-asyncFunctionObjectLiterals.ts, 17, 9))
>a : Symbol(a, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 20))
>y : Symbol(y, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 14))
b: z
>b : Symbol(b, Decl(es5-asyncFunctionObjectLiterals.ts, 18, 21))
>z : Symbol(z, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 17))
};
}
async function objectLiteral3() {
>objectLiteral3 : Symbol(objectLiteral3, Decl(es5-asyncFunctionObjectLiterals.ts, 21, 1))
x = {
>x : Symbol(x, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 11))
[a]: await y,
>[a] : Symbol([a], Decl(es5-asyncFunctionObjectLiterals.ts, 24, 9))
>a : Symbol(a, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 20))
>y : Symbol(y, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 14))
b: z
>b : Symbol(b, Decl(es5-asyncFunctionObjectLiterals.ts, 25, 21))
>z : Symbol(z, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 17))
};
}
async function objectLiteral4() {
>objectLiteral4 : Symbol(objectLiteral4, Decl(es5-asyncFunctionObjectLiterals.ts, 28, 1))
x = {
>x : Symbol(x, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 11))
a: await y,
>a : Symbol(a, Decl(es5-asyncFunctionObjectLiterals.ts, 31, 9))
>y : Symbol(y, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 14))
[b]: z
>[b] : Symbol([b], Decl(es5-asyncFunctionObjectLiterals.ts, 32, 19))
>b : Symbol(b, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 23))
>z : Symbol(z, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 17))
};
}
async function objectLiteral5() {
>objectLiteral5 : Symbol(objectLiteral5, Decl(es5-asyncFunctionObjectLiterals.ts, 35, 1))
x = {
>x : Symbol(x, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 11))
a: y,
>a : Symbol(a, Decl(es5-asyncFunctionObjectLiterals.ts, 38, 9))
>y : Symbol(y, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 14))
[await b]: z
>[await b] : Symbol([await b], Decl(es5-asyncFunctionObjectLiterals.ts, 39, 13))
>b : Symbol(b, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 23))
>z : Symbol(z, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 17))
};
}
async function objectLiteral6() {
>objectLiteral6 : Symbol(objectLiteral6, Decl(es5-asyncFunctionObjectLiterals.ts, 42, 1))
x = {
>x : Symbol(x, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 11))
a: y,
>a : Symbol(a, Decl(es5-asyncFunctionObjectLiterals.ts, 45, 9))
>y : Symbol(y, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 14))
[b]: await z
>[b] : Symbol([b], Decl(es5-asyncFunctionObjectLiterals.ts, 46, 13))
>b : Symbol(b, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 23))
>z : Symbol(z, Decl(es5-asyncFunctionObjectLiterals.ts, 0, 17))
};
}
|