| Index: tests/compiler/dart2js/cps_ir/expected/operators_8.js
|
| diff --git a/tests/compiler/dart2js/cps_ir/expected/operators_8.js b/tests/compiler/dart2js/cps_ir/expected/operators_8.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8bf81b57285704dd6cd9dcb844610ac5381e5090
|
| --- /dev/null
|
| +++ b/tests/compiler/dart2js/cps_ir/expected/operators_8.js
|
| @@ -0,0 +1,21 @@
|
| +// Expectation for test:
|
| +// main() {
|
| +// var list = [1, 2, 3];
|
| +// list[1] = 6;
|
| +// print(list);
|
| +// }
|
| +
|
| +function() {
|
| + var list = [1, 2, 3], v0;
|
| + list[1] = 6;
|
| + v0 = P.IterableBase_iterableToFullString(list, "[", "]");
|
| + if (typeof dartPrint == "function")
|
| + dartPrint(v0);
|
| + else if (typeof console == "object" && typeof console.log != "undefined")
|
| + console.log(v0);
|
| + else if (!(typeof window == "object")) {
|
| + if (!(typeof print == "function"))
|
| + throw "Unable to print message: " + String(v0);
|
| + print(v0);
|
| + }
|
| +}
|
|
|