Back to build
Raw log | Switch to full mode | Login

{ "shards": [ { "bot_dimensions": [ { "key": "caches", "value": [ "swarming_module_cache_vpython" ] }, { "key": "cores", "value": [ "8" ] }, { "key": "cpu", "value": [ "x86", "x86-64", "x86-64-Haswell_GCE", "x86-64-avx2" ] }, { "key": "gce", "value": [ "1" ] }, { "key": "gpu", "value": [ "none" ] }, { "key": "id", "value": [ "trusty-dart-68765ebb-us-central1-b-pjdq" ] }, { "key": "image", "value": [ "chrome-trusty-18091700-38cc06ee3ee" ] }, { "key": "inside_docker", "value": [ "0" ] }, { "key": "kvm", "value": [ "1" ] }, { "key": "machine_type", "value": [ "n1-standard-8" ] }, { "key": "os", "value": [ "Linux", "Ubuntu", "Ubuntu-14.04" ] }, { "key": "pool", "value": [ "dart.tests", "luci.dart.try" ] }, { "key": "python", "value": [ "2.7.6" ] }, { "key": "server_version", "value": [ "4181-8ab1a58" ] }, { "key": "zone", "value": [ "us", "us-central", "us-central1", "us-central1-b" ] } ], "bot_id": "trusty-dart-68765ebb-us-central1-b-pjdq", "bot_version": "3f773f7a084a1867307c9c796d9fb4d61b5794fa90dda1585001a58e9756a008", "cipd_pins": { "client_package": { "package_name": "infra/tools/cipd/linux-amd64", "version": "nFftZl2kFquaI2EUmPGwzbc5sIbCocl9L55UeASqlLsC" }, "packages": [ { "package_name": "infra/python/cpython/linux-amd64", "path": ".swarming_module", "version": "46c0c897ca0f053799ee41fd148bb7a47232df47" }, { "package_name": "infra/tools/luci/logdog/butler/linux-amd64", "path": ".swarming_module", "version": "2737ea8ed9b958f4d5aa9ffe106115a649ada241" }, { "package_name": "infra/tools/luci/vpython-native/linux-amd64", "path": ".swarming_module", "version": "OAXVAmcUSrvDygYUrCDzv20LRono9938YOHPu0zKowgC" }, { "package_name": "infra/tools/luci/vpython/linux-amd64", "path": ".swarming_module", "version": "ucaOciwAE9aweCUDOrmSvyiwrjmbywuB0NzAGUXIHjAC" }, { "package_name": "dart/dart-sdk/linux-amd64", "path": "tools/sdks", "version": "w1NTWZWsmpcwmQb-3R2E0_4bMnzZYNV08R9qTuQKBi4C" } ] }, "completed_ts": "2019-03-13T09:02:29.850235", "costs_usd": [ 0.021783583073686528 ], "created_ts": "2019-03-13T08:59:21.152453", "duration": 150.91988396644592, "modified_ts": "2019-03-13T09:02:29.850235", "name": "dart2js tests_shard_6/Linux/172d60decf/dart2js-minified-strong-linux-x64-d8-try/10599", "output": "tools/testing/dart/main.dart:1: Warning: Interpreting this as package URI, 'package:test_dart/main.dart'.\nTest configuration:\n dart2js-minified-linux-d8(architecture: x64, compiler: dart2js, mode: release, runtime: d8, system: linux, vm-options: [], timeout: null, minified, preview-dart-2, use-sdk)\nSuites tested: samples, standalone, standalone_2, corelib_2, language_2, vm, benchmark_smoke, utils, lib_2, analyze_library, service, kernel\nDirectory containing tests missing: /b/s/w/ir/runtime/observatory/tests/service\nTotal: 1617 tests\n * 230 tests will be skipped (205 skipped by design)\n * 0 tests are expected to be flaky but not crash\n * 13 tests are expected to flaky crash\n * 1264 tests are expected to pass\n * 32 tests are expected to fail that we won't fix\n * 71 tests are expected to fail that we should fix\n * 0 tests are expected to crash that we should fix\n * 0 tests are allowed to timeout\n * 7 could not be categorized or are in multiple categories\n\n\nFAILED: dart2js-d8 release_x64 language_2/control_flow_collections/for_test\nExpected: Pass\nActual: CompileTimeError\nUnexpected compile error.\n\n--- Command \"dart2js\" (took 548ms):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/tests/language_2/control_flow_collections/for_test.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_language_2_control_flow_collections_for_test/out.js\n\nexit code:\n1\n\nstdout:\nInfo: The --categories flag is deprecated, see the usage for details.\ntests/language_2/control_flow_collections/for_test.dart:26:33:\nError: Unexpected token 'for'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:29:42:\nError: 'i' is already declared in this scope.\n Expect.listEquals(list, <int>[for (var i in <int>[1, 2]) i, 3, 4]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42:\nInfo: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:29:33:\nError: Unexpected token 'for'.\n Expect.listEquals(list, <int>[for (var i in <int>[1, 2]) i, 3, 4]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:32:45:\nError: 'i' is already declared in this scope.\n Expect.listEquals(list, <int>[1, for (var i in <int>[2, 3]) i, 4]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42:\nInfo: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:32:36:\nError: Unexpected token 'for'.\n Expect.listEquals(list, <int>[1, for (var i in <int>[2, 3]) i, 4]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:35:48:\nError: 'i' is already declared in this scope.\n Expect.listEquals(list, <int>[1, 2, for (var i in <int>[3, 4]) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42:\nInfo: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:35:39:\nError: Unexpected token 'for'.\n Expect.listEquals(list, <int>[1, 2, for (var i in <int>[3, 4]) i]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:39:25:\nError: 'i' is already declared in this scope.\n <int>[1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42:\nInfo: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:39:16:\nError: Unexpected token 'for'.\n <int>[1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:39:48:\nError: Unexpected token 'for'.\n <int>[1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:43:22:\nError: 'i' is already declared in this scope.\n <int>[for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42:\nInfo: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:43:13:\nError: Unexpected token 'for'.\n <int>[for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:43:52:\nError: 'i' is already declared in this scope.\n <int>[for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42:\nInfo: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:43:43:\nError: Unexpected token 'for'.\n <int>[for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:47:22:\nError: 'i' is already declared in this scope.\n <int>[for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42:\nInfo: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:47:13:\nError: Unexpected token 'for'.\n <int>[for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:51:22:\nError: 'i' is already declared in this scope.\n <int>[for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42:\nInfo: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:51:52:\nError: Unexpected token 'if'.\n <int>[for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i]);\n ^^\ntests/language_2/control_flow_collections/for_test.dart:55:22:\nError: 'i' is already declared in this scope.\n <int>[for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42:\nInfo: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:55:48:\nError: Unexpected token 'if'.\n <int>[for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i]);\n ^^\ntests/language_2/control_flow_collections/for_test.dart:59:22:\nError: 'i' is already declared in this scope.\n <int>[for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42:\nInfo: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:59:40:\nError: Unexpected token 'for'.\n <int>[for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:62:36:\nError: 'i' is already declared in this scope.\n Expect.listEquals([1], [for (var i = 1; i < 2; i++) [i]].first);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42:\nInfo: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:62:27:\nError: Unexpected token 'for'.\n Expect.listEquals([1], [for (var i = 1; i < 2; i++) [i]].first);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:63:38:\nError: 'i' is already declared in this scope.\n Expect.mapEquals({1: 1}, [for (var i = 1; i < 2; i++) {i: i}].first);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42:\nInfo: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:63:29:\nError: Unexpected token 'for'.\n Expect.mapEquals({1: 1}, [for (var i = 1; i < 2; i++) {i: i}].first);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:64:35:\nError: 'i' is already declared in this scope.\n Expect.setEquals({1}, [for (var i = 1; i < 2; i++) {i}].first);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42:\nInfo: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:64:26:\nError: Unexpected token 'for'.\n Expect.setEquals({1}, [for (var i = 1; i < 2; i++) {i}].first);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:67:33:\nError: Unexpected token 'for'.\n Expect.listEquals(list, <int>[for (int n in <num>[1, 2, 3, 4]) n]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:70:42:\nError: 'n' is already declared in this scope.\n Expect.listEquals(list, <int>[for (num n in <num>[1, 2, 3, 4]) n]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:67:42:\nInfo: Previous declaration of 'n'.\n Expect.listEquals(list, <int>[for (int n in <num>[1, 2, 3, 4]) n]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:70:33:\nError: Unexpected token 'for'.\n Expect.listEquals(list, <int>[for (num n in <num>[1, 2, 3, 4]) n]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:73:41:\nError: 'i' is already declared in this scope.\n Expect.listEquals([1], <int>[for (var i = 1; (i < 2) as dynamic; i++) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42:\nInfo: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:73:32:\nError: Unexpected token 'for'.\n Expect.listEquals([1], <int>[for (var i = 1; (i < 2) as dynamic; i++) i]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:74:41:\nError: 'i' is already declared in this scope.\n Expect.listEquals([1], <int>[for (var i = 1; (i < 2) as Object; i++) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:26:42:\nInfo: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:74:32:\nError: Unexpected token 'for'.\n Expect.listEquals([1], <int>[for (var i = 1; (i < 2) as Object; i++) i]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:79:36:\nError: Unexpected token 'for'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:83:27:\nError: 'i' is already declared in this scope.\n <int, int>{for (var i in <int>[1, 2]) i: i, 3: 3, 4: 4});\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45:\nInfo: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:83:18:\nError: Unexpected token 'for'.\n <int, int>{for (var i in <int>[1, 2]) i: i, 3: 3, 4: 4});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:87:33:\nError: 'i' is already declared in this scope.\n <int, int>{1: 1, for (var i in <int>[2, 3]) i: i, 4: 4});\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45:\nInfo: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:87:24:\nError: Unexpected token 'for'.\n <int, int>{1: 1, for (var i in <int>[2, 3]) i: i, 4: 4});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:91:39:\nError: 'i' is already declared in this scope.\n <int, int>{1: 1, 2: 2, for (var i in <int>[3, 4]) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45:\nInfo: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:91:30:\nError: Unexpected token 'for'.\n <int, int>{1: 1, 2: 2, for (var i in <int>[3, 4]) i: i});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:96:14:\nError: 'i' is already declared in this scope.\n for (var i in <int>[]) i: i,\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45:\nInfo: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:96:5:\nError: Unexpected token 'for'.\n for (var i in <int>[]) i: i,\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:99:5:\nError: Unexpected token 'for'.\n for (; false;) 9: 9,\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:105:14:\nError: 'i' is already declared in this scope.\n for (var i in <int>[1]) i: i,\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45:\nInfo: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:105:5:\nError: Unexpected token 'for'.\n for (var i in <int>[1]) i: i,\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:107:14:\nError: 'i' is already declared in this scope.\n for (var i = 3; i <= 4; i++) i: i\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45:\nInfo: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:107:5:\nError: Unexpected token 'for'.\n for (var i = 3; i <= 4; i++) i: i\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:112:14:\nError: 'i' is already declared in this scope.\n for (var i in <int>[0, 2]) ...<int, int>{1 + i: 1 + i, 2 + i: 2 + i}\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45:\nInfo: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:112:5:\nError: Unexpected token 'for'.\n for (var i in <int>[0, 2]) ...<int, int>{1 + i: 1 + i, 2 + i: 2 + i}\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:117:27:\nError: 'i' is already declared in this scope.\n <int, int>{for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45:\nInfo: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:117:57:\nError: Unexpected token 'if'.\n <int, int>{for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i: i});\n ^^\ntests/language_2/control_flow_collections/for_test.dart:121:27:\nError: 'i' is already declared in this scope.\n <int, int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i: -i else i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45:\nInfo: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:121:53:\nError: Unexpected token 'if'.\n <int, int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i: -i else i: i});\n ^^\ntests/language_2/control_flow_collections/for_test.dart:125:14:\nError: 'i' is already declared in this scope.\n for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j: i + j\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45:\nInfo: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:125:32:\nError: Unexpected token 'for'.\n for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j: i + j\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:129:36:\nError: Unexpected token 'for'.\n Expect.mapEquals(map, <int, int>{for (int n in <num>[1, 2, 3, 4]) n: n});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:132:45:\nError: 'n' is already declared in this scope.\n Expect.mapEquals(map, <int, int>{for (num n in <num>[1, 2, 3, 4]) n: n});\n ^\ntests/language_2/control_flow_collections/for_test.dart:129:45:\nInfo: Previous declaration of 'n'.\n Expect.mapEquals(map, <int, int>{for (int n in <num>[1, 2, 3, 4]) n: n});\n ^\ntests/language_2/control_flow_collections/for_test.dart:132:36:\nError: Unexpected token 'for'.\n Expect.mapEquals(map, <int, int>{for (num n in <num>[1, 2, 3, 4]) n: n});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:136:27:\nError: 'i' is already declared in this scope.\n <int, int>{for (var i = 1; (i < 2) as dynamic; i++) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45:\nInfo: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:136:18:\nError: Unexpected token 'for'.\n <int, int>{for (var i = 1; (i < 2) as dynamic; i++) i: i});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:138:27:\nError: 'i' is already declared in this scope.\n <int, int>{for (var i = 1; (i < 2) as Object; i++) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:79:45:\nInfo: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:138:18:\nError: Unexpected token 'for'.\n <int, int>{for (var i = 1; (i < 2) as Object; i++) i: i});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:143:31:\nError: Unexpected token 'for'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:146:40:\nError: 'i' is already declared in this scope.\n Expect.setEquals(set, <int>{for (var i in <int>[1, 2]) i, 3, 4});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40:\nInfo: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:146:31:\nError: Unexpected token 'for'.\n Expect.setEquals(set, <int>{for (var i in <int>[1, 2]) i, 3, 4});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:149:43:\nError: 'i' is already declared in this scope.\n Expect.setEquals(set, <int>{1, for (var i in <int>[2, 3]) i, 4});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40:\nInfo: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:149:34:\nError: Unexpected token 'for'.\n Expect.setEquals(set, <int>{1, for (var i in <int>[2, 3]) i, 4});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:152:46:\nError: 'i' is already declared in this scope.\n Expect.setEquals(set, <int>{1, 2, for (var i in <int>[3, 4]) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40:\nInfo: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:152:37:\nError: Unexpected token 'for'.\n Expect.setEquals(set, <int>{1, 2, for (var i in <int>[3, 4]) i});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:156:25:\nError: 'i' is already declared in this scope.\n <int>{1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40:\nInfo: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:156:16:\nError: Unexpected token 'for'.\n <int>{1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:156:48:\nError: Unexpected token 'for'.\n <int>{1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:160:22:\nError: 'i' is already declared in this scope.\n <int>{for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40:\nInfo: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:160:13:\nError: Unexpected token 'for'.\n <int>{for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:160:52:\nError: 'i' is already declared in this scope.\n <int>{for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40:\nInfo: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:160:43:\nError: Unexpected token 'for'.\n <int>{for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:164:22:\nError: 'i' is already declared in this scope.\n <int>{for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40:\nInfo: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:164:13:\nError: Unexpected token 'for'.\n <int>{for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:168:22:\nError: 'i' is already declared in this scope.\n <int>{for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40:\nInfo: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:168:52:\nError: Unexpected token 'if'.\n <int>{for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i});\n ^^\ntests/language_2/control_flow_collections/for_test.dart:172:22:\nError: 'i' is already declared in this scope.\n <int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40:\nInfo: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:172:48:\nError: Unexpected token 'if'.\n <int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i});\n ^^\ntests/language_2/control_flow_collections/for_test.dart:176:22:\nError: 'i' is already declared in this scope.\n <int>{for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40:\nInfo: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:176:40:\nError: Unexpected token 'for'.\n <int>{for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:179:36:\nError: 'i' is already declared in this scope.\n Expect.listEquals([1], {for (var i = 1; i < 2; i++) [i]}.first);\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40:\nInfo: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:179:27:\nError: Unexpected token 'for'.\n Expect.listEquals([1], {for (var i = 1; i < 2; i++) [i]}.first);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:180:38:\nError: 'i' is already declared in this scope.\n Expect.mapEquals({1: 1}, {for (var i = 1; i < 2; i++) {i: i}}.first);\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40:\nInfo: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:180:29:\nError: Unexpected token 'for'.\n Expect.mapEquals({1: 1}, {for (var i = 1; i < 2; i++) {i: i}}.first);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:181:35:\nError: 'i' is already declared in this scope.\n Expect.setEquals({1}, {for (var i = 1; i < 2; i++) {i}}.first);\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40:\nInfo: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:181:26:\nError: Unexpected token 'for'.\n Expect.setEquals({1}, {for (var i = 1; i < 2; i++) {i}}.first);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:184:31:\nError: Unexpected token 'for'.\n Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:187:40:\nError: 'n' is already declared in this scope.\n Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n});\n ^\ntests/language_2/control_flow_collections/for_test.dart:184:40:\nInfo: Previous declaration of 'n'.\n Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n});\n ^\ntests/language_2/control_flow_collections/for_test.dart:187:31:\nError: Unexpected token 'for'.\n Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:190:40:\nError: 'i' is already declared in this scope.\n Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40:\nInfo: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:190:31:\nError: Unexpected token 'for'.\n Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:191:40:\nError: 'i' is already declared in this scope.\n Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:143:40:\nInfo: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/for_test.dart:191:31:\nError: Unexpected token 'for'.\n Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:179:60:\nError: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'.\n - 'Map' is from 'dart:core'.\n Expect.listEquals([1], {for (var i = 1; i < 2; i++) [i]}.first);\n ^^^^^\ntests/language_2/control_flow_collections/for_test.dart:180:65:\nError: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'.\n - 'Map' is from 'dart:core'.\n Expect.mapEquals({1: 1}, {for (var i = 1; i < 2; i++) {i: i}}.first);\n ^^^^^\ntests/language_2/control_flow_collections/for_test.dart:181:59:\nError: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'.\n - 'Map' is from 'dart:core'.\n Expect.setEquals({1}, {for (var i = 1; i < 2; i++) {i}}.first);\n ^^^^^\ntests/language_2/control_flow_collections/for_test.dart:197:5:\nError: Unexpected token 'for'.\n for (var i in <int>[1, 2, 3]) i: i,\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:198:14:\nError: 'i' is already declared in this scope.\n for (var i = 2; i <= 3; i++) i: i,\n ^\ntests/language_2/control_flow_collections/for_test.dart:197:14:\nInfo: Previous declaration of 'i'.\n for (var i in <int>[1, 2, 3]) i: i,\n ^\ntests/language_2/control_flow_collections/for_test.dart:198:5:\nError: Unexpected token 'for'.\n for (var i = 2; i <= 3; i++) i: i,\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:204:14:\nError: 'i' is already declared in this scope.\n for (var i in <int>[1, 2, 3]) i,\n ^\ntests/language_2/control_flow_collections/for_test.dart:197:14:\nInfo: Previous declaration of 'i'.\n for (var i in <int>[1, 2, 3]) i: i,\n ^\ntests/language_2/control_flow_collections/for_test.dart:204:5:\nError: Unexpected token 'for'.\n for (var i in <int>[1, 2, 3]) i,\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:205:14:\nError: 'i' is already declared in this scope.\n for (var i = 2; i <= 3; i++) i,\n ^\ntests/language_2/control_flow_collections/for_test.dart:197:14:\nInfo: Previous declaration of 'i'.\n for (var i in <int>[1, 2, 3]) i: i,\n ^\ntests/language_2/control_flow_collections/for_test.dart:205:5:\nError: Unexpected token 'for'.\n for (var i = 2; i <= 3; i++) i,\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:222:5:\nError: Unexpected token 'for'.\n for (var i = 0; i < keys.length; i++) keys[i]: values[i]\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:226:38:\nError: 'i' is already declared in this scope.\n var set = <Equality>{e1a, for (var i = 0; i < keys.length; i++) keys[i]};\n ^\ntests/language_2/control_flow_collections/for_test.dart:222:14:\nInfo: Previous declaration of 'i'.\n for (var i = 0; i < keys.length; i++) keys[i]: values[i]\n ^\ntests/language_2/control_flow_collections/for_test.dart:226:29:\nError: Unexpected token 'for'.\n var set = <Equality>{e1a, for (var i = 0; i < keys.length; i++) keys[i]};\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:233:38:\nError: Unexpected token 'for'.\n Expect.throwsTypeError(() => <int>[for (; nonBool;) 1]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:234:43:\nError: Unexpected token 'for'.\n Expect.throwsTypeError(() => <int, int>{for (; nonBool;) 1: 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:235:38:\nError: Unexpected token 'for'.\n Expect.throwsTypeError(() => <int>{for (; nonBool;) 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:239:43:\nError: Unexpected token 'for'.\n Expect.throwsAssertionError(() => <int>[for (; nullBool;) 1]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:240:48:\nError: Unexpected token 'for'.\n Expect.throwsAssertionError(() => <int, int>{for (; nullBool;) 1: 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:241:43:\nError: Unexpected token 'for'.\n Expect.throwsAssertionError(() => <int>{for (; nullBool;) 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:245:38:\nError: Unexpected token 'for'.\n Expect.throwsTypeError(() => <int>[for (int i = nonInt; false;) 1]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:246:43:\nError: Unexpected token 'for'.\n Expect.throwsTypeError(() => <int, int>{for (int i = nonInt; false;) 1: 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:247:38:\nError: Unexpected token 'for'.\n Expect.throwsTypeError(() => <int>{for (int i = nonInt; false;) 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:251:38:\nError: Unexpected token 'for'.\n Expect.throwsTypeError(() => <int>[for (int i in nonIterable) 1]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:252:43:\nError: Unexpected token 'for'.\n Expect.throwsTypeError(() => <int, int>{for (int i in nonIterable) 1: 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:253:38:\nError: Unexpected token 'for'.\n Expect.throwsTypeError(() => <int>{for (int i in nonIterable) 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:257:46:\nError: Unexpected token 'for'.\n Expect.throwsNoSuchMethodError(() => <int>[for (var i in nullIterable) 1]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:259:24:\nError: Unexpected token 'for'.\n () => <int, int>{for (var i in nullIterable) 1: 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:260:46:\nError: Unexpected token 'for'.\n Expect.throwsNoSuchMethodError(() => <int>{for (var i in nullIterable) 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:263:38:\nError: Unexpected token 'for'.\n Expect.throwsTypeError(() => <int>[for (var i = 0; i < 1; i++) nonInt]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:265:24:\nError: Unexpected token 'for'.\n () => <int, int>{for (var i = 0; i < 1; i++) nonInt: 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:267:24:\nError: Unexpected token 'for'.\n () => <int, int>{for (var i = 0; i < 1; i++) 1: nonInt});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:268:38:\nError: Unexpected token 'for'.\n Expect.throwsTypeError(() => <int>{for (var i = 0; i < 1; i++) nonInt});\n ^^^\nError: Compilation failed.\n\n--- Re-run this test:\npython tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/control_flow_collections/for_test\n\n\nFAILED: dart2js-d8 release_x64 language_2/control_flow_collections/if_test\nExpected: Pass\nActual: CompileTimeError\nUnexpected compile error.\n\n--- Command \"dart2js\" (took 539ms):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/tests/language_2/control_flow_collections/if_test.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_language_2_control_flow_collections_if_test/out.js\n\nexit code:\n1\n\nstdout:\nInfo: The --categories flag is deprecated, see the usage for details.\ntests/language_2/control_flow_collections/if_test.dart:27:36:\nError: Unexpected token 'if'.\n Expect.listEquals(list, <int>[1, if (true) 2, 3]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:30:36:\nError: Unexpected token 'if'.\n Expect.listEquals(list, <int>[1, if (false) 9, 2, 3]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:33:36:\nError: Unexpected token 'if'.\n Expect.listEquals(list, <int>[1, if (false) 9 else 2, 3]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:36:32:\nError: Unexpected token 'if'.\n Expect.listEquals([1], <int>[if (true) 1]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:39:33:\nError: Unexpected token 'if'.\n Expect.listEquals(list, <int>[if (true) 1, 2, 3]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:42:36:\nError: Unexpected token 'if'.\n Expect.listEquals(list, <int>[1, if (true) 2, 3]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:45:39:\nError: Unexpected token 'if'.\n Expect.listEquals(list, <int>[1, 2, if (true) 3]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:49:13:\nError: Unexpected token 'if'.\n <int>[if (true) 1, if (false) 9, 2, if (true) 3]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:49:26:\nError: Unexpected token 'if'.\n <int>[if (true) 1, if (false) 9, 2, if (true) 3]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:49:43:\nError: Unexpected token 'if'.\n <int>[if (true) 1, if (false) 9, 2, if (true) 3]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:52:37:\nError: Unexpected token 'if'.\n Expect.listEquals(<int>[1], <int>[if (true as dynamic) 1]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:53:37:\nError: Unexpected token 'if'.\n Expect.listEquals(<int>[1], <int>[if (true as Object) 1]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:56:27:\nError: Unexpected token 'if'.\n Expect.listEquals([1], [if (true) [1]].first);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:57:29:\nError: Unexpected token 'if'.\n Expect.mapEquals({1: 1}, [if (true) {1: 1}].first);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:58:26:\nError: Unexpected token 'if'.\n Expect.setEquals({1}, [if (true) {1}].first);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:62:13:\nError: Unexpected token 'if'.\n <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:62:39:\nError: Unexpected token 'if'.\n <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:65:42:\nError: Unexpected token 'if'.\n Expect.listEquals([1], <int>[if (true) if (true) 1, if (true) if (false) 9]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:65:65:\nError: Unexpected token 'if'.\n Expect.listEquals([1], <int>[if (true) if (true) 1, if (true) if (false) 9]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:68:50:\nError: Unexpected token 'if'.\n Expect.listEquals([1], <int>[if (false) 9 else if (true) 1]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:71:43:\nError: Unexpected token 'for'.\n Expect.listEquals(list, <int>[if (true) for (var i in list) i]);\n ^^^\ntests/language_2/control_flow_collections/if_test.dart:74:60:\nError: 'i' is already declared in this scope.\n Expect.listEquals(list, <int>[if (false) 9 else for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/if_test.dart:71:52:\nInfo: Previous declaration of 'i'.\n Expect.listEquals(list, <int>[if (true) for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/if_test.dart:74:51:\nError: Unexpected token 'for'.\n Expect.listEquals(list, <int>[if (false) 9 else for (var i in list) i]);\n ^^^\ntests/language_2/control_flow_collections/if_test.dart:79:42:\nError: Unexpected token 'if'.\n Expect.mapEquals(map, <int, int>{1: 1, if (true) 2: 2, 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:82:42:\nError: Unexpected token 'if'.\n Expect.mapEquals(map, <int, int>{1: 1, if (false) 9: 9, 2: 2, 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:85:42:\nError: Unexpected token 'if'.\n Expect.mapEquals(map, <int, int>{1: 1, if (false) 9: 9 else 2: 2, 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:88:49:\nError: Unexpected token 'if'.\n Expect.mapEquals(<int, int>{1: 1}, <int, int>{if (true) 1: 1});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:91:36:\nError: Unexpected token 'if'.\n Expect.mapEquals(map, <int, int>{if (true) 1: 1, 2: 2, 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:94:42:\nError: Unexpected token 'if'.\n Expect.mapEquals(map, <int, int>{1: 1, if (true) 2: 2, 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:97:48:\nError: Unexpected token 'if'.\n Expect.mapEquals(map, <int, int>{1: 1, 2: 2, if (true) 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:101:18:\nError: Unexpected token 'if'.\n <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:101:34:\nError: Unexpected token 'if'.\n <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:101:57:\nError: Unexpected token 'if'.\n <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:104:49:\nError: Unexpected token 'if'.\n Expect.mapEquals(<int, int>{1: 1}, <int, int>{if (true as dynamic) 1: 1});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:105:49:\nError: Unexpected token 'if'.\n Expect.mapEquals(<int, int>{1: 1}, <int, int>{if (true as Object) 1: 1});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:109:5:\nError: Unexpected token 'if'.\n if (true) ...<int, int>{1: 1, 2: 2},\n ^^\ntests/language_2/control_flow_collections/if_test.dart:110:5:\nError: Unexpected token 'if'.\n if (false) 9: 9 else ...<int, int>{3: 3}\n ^^\ntests/language_2/control_flow_collections/if_test.dart:115:28:\nError: Unexpected token 'if'.\n <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:115:54:\nError: Unexpected token 'if'.\n <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:119:39:\nError: Unexpected token 'if'.\n <int, int>{if (false) 9: 9 else if (true) 1: 1});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:122:46:\nError: Unexpected token 'for'.\n Expect.mapEquals(map, <int, int>{if (true) for (var i in list) i: i});\n ^^^\ntests/language_2/control_flow_collections/if_test.dart:125:66:\nError: 'i' is already declared in this scope.\n Expect.mapEquals(map, <int, int>{if (false) 9: 9 else for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/if_test.dart:122:55:\nInfo: Previous declaration of 'i'.\n Expect.mapEquals(map, <int, int>{if (true) for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/if_test.dart:125:57:\nError: Unexpected token 'for'.\n Expect.mapEquals(map, <int, int>{if (false) 9: 9 else for (var i in list) i: i});\n ^^^\ntests/language_2/control_flow_collections/if_test.dart:130:34:\nError: Unexpected token 'if'.\n Expect.setEquals(set, <int>{1, if (true) 2, 3});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:133:34:\nError: Unexpected token 'if'.\n Expect.setEquals(set, <int>{1, if (false) 9, 2, 3});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:136:34:\nError: Unexpected token 'if'.\n Expect.setEquals(set, <int>{1, if (false) 9 else 2, 3});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:139:31:\nError: Unexpected token 'if'.\n Expect.setEquals({1}, <int>{if (true) 1});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:142:31:\nError: Unexpected token 'if'.\n Expect.setEquals(set, <int>{if (true) 1, 2, 3});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:145:34:\nError: Unexpected token 'if'.\n Expect.setEquals(set, <int>{1, if (true) 2, 3});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:148:37:\nError: Unexpected token 'if'.\n Expect.setEquals(set, <int>{1, 2, if (true) 3});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:152:13:\nError: Unexpected token 'if'.\n <int>{if (true) 1, if (false) 9, 2, if (true) 3});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:152:26:\nError: Unexpected token 'if'.\n <int>{if (true) 1, if (false) 9, 2, if (true) 3});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:152:43:\nError: Unexpected token 'if'.\n <int>{if (true) 1, if (false) 9, 2, if (true) 3});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:155:31:\nError: Unexpected token 'if'.\n Expect.setEquals({1}, <int>{if (true as dynamic) 1});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:156:31:\nError: Unexpected token 'if'.\n Expect.setEquals({1}, <int>{if (true as Object) 1});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:159:27:\nError: Unexpected token 'if'.\n Expect.listEquals([1], {if (true) [1]}.first);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:160:29:\nError: Unexpected token 'if'.\n Expect.mapEquals({1: 1}, {if (true) {1: 1}}.first);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:161:26:\nError: Unexpected token 'if'.\n Expect.setEquals({1}, {if (true) {1}}.first);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:165:13:\nError: Unexpected token 'if'.\n <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:165:39:\nError: Unexpected token 'if'.\n <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:168:41:\nError: Unexpected token 'if'.\n Expect.setEquals({1}, <int>{if (true) if (true) 1, if (true) if (false) 9});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:168:64:\nError: Unexpected token 'if'.\n Expect.setEquals({1}, <int>{if (true) if (true) 1, if (true) if (false) 9});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:171:49:\nError: Unexpected token 'if'.\n Expect.setEquals({1}, <int>{if (false) 9 else if (true) 1});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:174:41:\nError: Unexpected token 'for'.\n Expect.setEquals(set, <int>{if (true) for (var i in list) i});\n ^^^\ntests/language_2/control_flow_collections/if_test.dart:177:58:\nError: 'i' is already declared in this scope.\n Expect.setEquals(set, <int>{if (false) 9 else for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/if_test.dart:174:50:\nInfo: Previous declaration of 'i'.\n Expect.setEquals(set, <int>{if (true) for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/if_test.dart:177:49:\nError: Unexpected token 'for'.\n Expect.setEquals(set, <int>{if (false) 9 else for (var i in list) i});\n ^^^\ntests/language_2/control_flow_collections/if_test.dart:159:42:\nError: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'.\n - 'Map' is from 'dart:core'.\n Expect.listEquals([1], {if (true) [1]}.first);\n ^^^^^\ntests/language_2/control_flow_collections/if_test.dart:160:47:\nError: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'.\n - 'Map' is from 'dart:core'.\n Expect.mapEquals({1: 1}, {if (true) {1: 1}}.first);\n ^^^^^\ntests/language_2/control_flow_collections/if_test.dart:161:41:\nError: The getter 'first' isn't defined for the class 'Map<dynamic, dynamic>'.\n - 'Map' is from 'dart:core'.\n Expect.setEquals({1}, {if (true) {1}}.first);\n ^^^^^\ntests/language_2/control_flow_collections/if_test.dart:188:27:\nError: Unexpected token 'if'.\n Expect.listEquals([1], [if (true) log(1), if (false) log(2)]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:188:45:\nError: Unexpected token 'if'.\n Expect.listEquals([1], [if (true) log(1), if (false) log(2)]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:194:8:\nError: Unexpected token 'if'.\n [if (true) log(1) else log(2), if (false) log(3) else log(4)]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:194:38:\nError: Unexpected token 'if'.\n [if (true) log(1) else log(2), if (false) log(3) else log(4)]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:201:5:\nError: Unexpected token 'if'.\n if (true) 1: 1,\n ^^\ntests/language_2/control_flow_collections/if_test.dart:202:5:\nError: Unexpected token 'if'.\n if (false) 9: 9 else 2: 2,\n ^^\ntests/language_2/control_flow_collections/if_test.dart:206:34:\nError: Unexpected token 'if'.\n Expect.setEquals(set, <int>{1, if (true) 1, if (false) 9 else 2, 2, 3});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:206:47:\nError: Unexpected token 'if'.\n Expect.setEquals(set, <int>{1, if (true) 1, if (false) 9 else 2, 2, 3});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:218:5:\nError: Unexpected token 'if'.\n if (true) e1b: 0,\n ^^\ntests/language_2/control_flow_collections/if_test.dart:219:5:\nError: Unexpected token 'if'.\n if (true) e2a: 0,\n ^^\ntests/language_2/control_flow_collections/if_test.dart:220:5:\nError: Unexpected token 'if'.\n if (true) e2b: 0\n ^^\ntests/language_2/control_flow_collections/if_test.dart:226:5:\nError: Unexpected token 'if'.\n if (true) e1b,\n ^^\ntests/language_2/control_flow_collections/if_test.dart:227:5:\nError: Unexpected token 'if'.\n if (true) e2a,\n ^^\ntests/language_2/control_flow_collections/if_test.dart:228:5:\nError: Unexpected token 'if'.\n if (true) e2b\n ^^\ntests/language_2/control_flow_collections/if_test.dart:235:38:\nError: Unexpected token 'if'.\n Expect.throwsTypeError(() => <int>[if (nonBool) 1]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:236:43:\nError: Unexpected token 'if'.\n Expect.throwsTypeError(() => <int, int>{if (nonBool) 1: 1});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:237:38:\nError: Unexpected token 'if'.\n Expect.throwsTypeError(() => <int>{if (nonBool) 1});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:240:43:\nError: Unexpected token 'if'.\n Expect.throwsAssertionError(() => <int>[if (nullBool) 1]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:241:48:\nError: Unexpected token 'if'.\n Expect.throwsAssertionError(() => <int, int>{if (nullBool) 1: 1});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:242:43:\nError: Unexpected token 'if'.\n Expect.throwsAssertionError(() => <int>{if (nullBool) 1});\n ^^\nError: Compilation failed.\n\n--- Re-run this test:\npython tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/control_flow_collections/if_test\n\n\nFAILED: dart2js-d8 release_x64 language_2/control_flow_collections/if_const_test\nExpected: Pass\nActual: CompileTimeError\nUnexpected compile error.\n\n--- Command \"dart2js\" (took 314ms):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/tests/language_2/control_flow_collections/if_const_test.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_language_2_control_flow_collections_if_const_test/out.js\n\nexit code:\n1\n\nstdout:\nInfo: The --categories flag is deprecated, see the usage for details.\ntests/language_2/control_flow_collections/if_const_test.dart:30:41:\nError: Unexpected token 'if'.\n Expect.identical(list, const <int>[1, if (true) 2, 3]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:33:41:\nError: Unexpected token 'if'.\n Expect.identical(list, const <int>[1, if (false) 9, 2, 3]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:36:41:\nError: Unexpected token 'if'.\n Expect.identical(list, const <int>[1, if (false) 9 else 2, 3]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:39:43:\nError: Unexpected token 'if'.\n Expect.identical(const [1], const <int>[if (true) 1]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:42:38:\nError: Unexpected token 'if'.\n Expect.identical(list, const <int>[if (true) 1, 2, 3]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:45:41:\nError: Unexpected token 'if'.\n Expect.identical(list, const <int>[1, if (true) 2, 3]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:48:44:\nError: Unexpected token 'if'.\n Expect.identical(list, const <int>[1, 2, if (true) 3]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:52:19:\nError: Unexpected token 'if'.\n const <int>[if (true) 1, if (false) 9, 2, if (true) 3]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:52:32:\nError: Unexpected token 'if'.\n const <int>[if (true) 1, if (false) 9, 2, if (true) 3]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:52:49:\nError: Unexpected token 'if'.\n const <int>[if (true) 1, if (false) 9, 2, if (true) 3]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:55:43:\nError: Unexpected token 'if'.\n Expect.identical(const [1], const <int>[if (dynamicTrue) 1]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:56:43:\nError: Unexpected token 'if'.\n Expect.identical(const [1], const <int>[if (objectTrue) 1]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:59:38:\nError: Unexpected token 'if'.\n Expect.identical(const [1], const [if (true) [1]].first);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:60:41:\nError: Unexpected token 'if'.\n Expect.identical(const {1: 1}, const [if (true) {1: 1}].first);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:61:38:\nError: Unexpected token 'if'.\n Expect.identical(const {1}, const [if (true) {1}].first);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:65:19:\nError: Unexpected token 'if'.\n const <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:65:45:\nError: Unexpected token 'if'.\n const <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:69:29:\nError: Unexpected token 'if'.\n const <int>[if (true) if (true) 1, if (true) if (false) 9]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:69:52:\nError: Unexpected token 'if'.\n const <int>[if (true) if (true) 1, if (true) if (false) 9]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:72:61:\nError: Unexpected token 'if'.\n Expect.identical(const [1], const <int>[if (false) 9 else if (true) 1]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:77:48:\nError: Unexpected token 'if'.\n Expect.identical(map, const <int, int>{1: 1, if (true) 2: 2, 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:80:48:\nError: Unexpected token 'if'.\n Expect.identical(map, const <int, int>{1: 1, if (false) 9: 9, 2: 2, 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:84:30:\nError: Unexpected token 'if'.\n const <int, int>{1: 1, if (false) 9: 9 else 2: 2, 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:87:51:\nError: Unexpected token 'if'.\n Expect.identical(const {1: 1}, const <int, int>{if (true) 1: 1});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:90:42:\nError: Unexpected token 'if'.\n Expect.identical(map, const <int, int>{if (true) 1: 1, 2: 2, 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:93:48:\nError: Unexpected token 'if'.\n Expect.identical(map, const <int, int>{1: 1, if (true) 2: 2, 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:96:54:\nError: Unexpected token 'if'.\n Expect.identical(map, const <int, int>{1: 1, 2: 2, if (true) 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:100:24:\nError: Unexpected token 'if'.\n const <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:100:40:\nError: Unexpected token 'if'.\n const <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:100:63:\nError: Unexpected token 'if'.\n const <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:103:51:\nError: Unexpected token 'if'.\n Expect.identical(const {1: 1}, const <int, int>{if (dynamicTrue) 1: 1});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:104:51:\nError: Unexpected token 'if'.\n Expect.identical(const {1: 1}, const <int, int>{if (objectTrue) 1: 1});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:108:5:\nError: Unexpected token 'if'.\n if (true) ...<int, int>{1: 1, 2: 2},\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:109:5:\nError: Unexpected token 'if'.\n if (false) 9: 9 else ...<int, int>{3: 3}\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:114:34:\nError: Unexpected token 'if'.\n const <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:114:60:\nError: Unexpected token 'if'.\n const <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:118:45:\nError: Unexpected token 'if'.\n const <int, int>{if (false) 9: 9 else if (true) 1: 1});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:123:40:\nError: Unexpected token 'if'.\n Expect.identical(set, const <int>{1, if (true) 2, 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:126:40:\nError: Unexpected token 'if'.\n Expect.identical(set, const <int>{1, if (false) 9, 2, 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:129:40:\nError: Unexpected token 'if'.\n Expect.identical(set, const <int>{1, if (false) 9 else 2, 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:132:37:\nError: Unexpected token 'if'.\n Expect.identical({1}, const <int>{if (true) 1});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:135:37:\nError: Unexpected token 'if'.\n Expect.identical(set, const <int>{if (true) 1, 2, 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:138:40:\nError: Unexpected token 'if'.\n Expect.identical(set, const <int>{1, if (true) 2, 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:141:43:\nError: Unexpected token 'if'.\n Expect.identical(set, const <int>{1, 2, if (true) 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:145:19:\nError: Unexpected token 'if'.\n const <int>{if (true) 1, if (false) 9, 2, if (true) 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:145:32:\nError: Unexpected token 'if'.\n const <int>{if (true) 1, if (false) 9, 2, if (true) 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:145:49:\nError: Unexpected token 'if'.\n const <int>{if (true) 1, if (false) 9, 2, if (true) 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:148:48:\nError: Unexpected token 'if'.\n Expect.identical(const <int>{1}, const <int>{if (dynamicTrue) 1});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:149:48:\nError: Unexpected token 'if'.\n Expect.identical(const <int>{1}, const <int>{if (objectTrue) 1});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:152:54:\nError: Unexpected token 'if'.\n Expect.identical(const <int>[1], const <List<int>>{if (true) [1]}.first);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:154:53:\nError: Unexpected token 'if'.\n const <int, int>{1: 1}, const <Map<int, int>>{if (true) {1: 1}}.first);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:155:53:\nError: Unexpected token 'if'.\n Expect.identical(const <int>{1}, const <Set<int>>{if (true) {1}}.first);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:159:19:\nError: Unexpected token 'if'.\n const <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:159:45:\nError: Unexpected token 'if'.\n const <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:163:29:\nError: Unexpected token 'if'.\n const <int>{if (true) if (true) 1, if (true) if (false) 9});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:163:52:\nError: Unexpected token 'if'.\n const <int>{if (true) if (true) 1, if (true) if (false) 9});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:166:66:\nError: Unexpected token 'if'.\n Expect.identical(const <int>{1}, const <int>{if (false) 9 else if (true) 1});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:177:19:\nError: Unexpected token 'if'.\n const <int>[if (true) 1, if (false) nil + 1]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:177:32:\nError: Unexpected token 'if'.\n const <int>[if (true) 1, if (false) nil + 1]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:179:19:\nError: Unexpected token 'if'.\n const <int>[if (true) 1 else nil + 1, if (false) nil + 1 else 2]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:179:45:\nError: Unexpected token 'if'.\n const <int>[if (true) 1 else nil + 1, if (false) nil + 1 else 2]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:182:5:\nError: Unexpected token 'if'.\n if (true) 1: 1,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:183:5:\nError: Unexpected token 'if'.\n if (false) nil + 1: 9,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:184:5:\nError: Unexpected token 'if'.\n if (false) 9: nil + 1\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:187:5:\nError: Unexpected token 'if'.\n if (true) 1: 1 else nil + 1: 9,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:188:5:\nError: Unexpected token 'if'.\n if (false) 9: nil + 1 else 2: 2\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:192:19:\nError: Unexpected token 'if'.\n const <int>{if (true) 1, if (false) nil + 1});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:192:32:\nError: Unexpected token 'if'.\n const <int>{if (true) 1, if (false) nil + 1});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:194:19:\nError: Unexpected token 'if'.\n const <int>{if (true) 1 else nil + 1, if (false) nil + 1 else 2});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:194:45:\nError: Unexpected token 'if'.\n const <int>{if (true) 1 else nil + 1, if (false) nil + 1 else 2});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:200:48:\nError: Unexpected token 'if'.\n Expect.identical(const <int>[1], const <int>[if (true) 1, if (false) nonInt]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:200:61:\nError: Unexpected token 'if'.\n Expect.identical(const <int>[1], const <int>[if (true) 1, if (false) nonInt]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:202:19:\nError: Unexpected token 'if'.\n const <int>[if (true) 1 else nonInt, if (false) nonInt else 2]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:202:44:\nError: Unexpected token 'if'.\n const <int>[if (true) 1 else nonInt, if (false) nonInt else 2]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:204:34:\nError: Expected ',' before this.\n Expect.identical(const <int>{1: 1}, const <int, int>{\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:205:5:\nError: Unexpected token 'if'.\n if (true) 1: 1,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:206:5:\nError: Unexpected token 'if'.\n if (false) nonInt: 9,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:207:5:\nError: Unexpected token 'if'.\n if (false) 9: nonInt\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:210:5:\nError: Unexpected token 'if'.\n if (true) 1: 1 else nonInt: 9,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:211:5:\nError: Unexpected token 'if'.\n if (false) 9: nonInt else 2: 2\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:214:48:\nError: Unexpected token 'if'.\n Expect.identical(const <int>{1}, const <int>{if (true) 1, if (false) nonInt});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:214:61:\nError: Unexpected token 'if'.\n Expect.identical(const <int>{1}, const <int>{if (true) 1, if (false) nonInt});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:216:19:\nError: Unexpected token 'if'.\n const <int>{if (true) 1 else nonInt, if (false) nonInt else 2});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:216:44:\nError: Unexpected token 'if'.\n const <int>{if (true) 1 else nonInt, if (false) nonInt else 2});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:223:5:\nError: Unexpected token 'if'.\n if (false) 1: 1,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:224:5:\nError: Unexpected token 'if'.\n if (true) 2: 2 else 3: 3,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:228:40:\nError: Unexpected token 'if'.\n Expect.setEquals(set, const <int>{1, if (false) 1, if (true) 2 else 3, 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:228:54:\nError: Unexpected token 'if'.\n Expect.setEquals(set, const <int>{1, if (false) 1, if (true) 2 else 3, 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:234:30:\nError: Unexpected token 'if'.\n const <int, int>{1: 1, if (true) 2: 2, if (false) 9: 9, 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:234:46:\nError: Unexpected token 'if'.\n const <int, int>{1: 1, if (true) 2: 2, if (false) 9: 9, 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:236:24:\nError: Unexpected token 'if'.\n const <int, int>{if (false) 9: 9 else 1: 1, 2: 2, if (true) 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:236:57:\nError: Unexpected token 'if'.\n const <int, int>{if (false) 9: 9 else 1: 1, 2: 2, if (true) 3: 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:238:40:\nError: Unexpected token 'if'.\n Expect.identical(set, const <int>{1, if (true) 2, if (false) 9, 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:238:53:\nError: Unexpected token 'if'.\n Expect.identical(set, const <int>{1, if (true) 2, if (false) 9, 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:239:37:\nError: Unexpected token 'if'.\n Expect.identical(set, const <int>{if (false) 9 else 1, 2, if (true) 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:239:61:\nError: Unexpected token 'if'.\n Expect.identical(set, const <int>{if (false) 9 else 1, 2, if (true) 3});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:242:51:\nError: Unexpected token 'if'.\n Expect.notIdentical(map, const <int, int>{1: 1, if (true) 3: 3, 2: 2});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:243:43:\nError: Unexpected token 'if'.\n Expect.notIdentical(set, const <int>{1, if (true) 3, 2});\n ^^\nError: Compilation failed.\n\n--- Re-run this test:\npython tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/control_flow_collections/if_const_test\n\n\nFAILED: dart2js-d8 release_x64 language_2/control_flow_collections/map_set_ambiguity_test\nExpected: Pass\nActual: CompileTimeError\nUnexpected compile error.\n\n--- Command \"dart2js\" (took 382ms):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/tests/language_2/control_flow_collections/map_set_ambiguity_test.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_language_2_control_flow_collections_map_set_ambiguity_test/out.js\n\nexit code:\n1\n\nstdout:\nInfo: The --categories flag is deprecated, see the usage for details.\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:28:26:\nError: Unexpected token 'if'.\n expectMapOf<int, int>({if (true) ...map});\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:29:21:\nError: Unexpected token 'if'.\n expectSetOf<int>({if (true) ...set});\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:31:21:\nError: Unexpected token 'if'.\n expectSetOf<int>({if (true) ...iterable});\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:32:21:\nError: Unexpected token 'if'.\n expectSetOf<int>({if (true) ...customSet});\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:33:26:\nError: Unexpected token 'if'.\n expectMapOf<int, int>({if (true) ...customMap});\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:35:26:\nError: Unexpected token 'if'.\n expectMapOf<int, int>({if (true) ...map else ...map});\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:37:34:\nError: Unexpected token 'if'.\n expectMapOf<dynamic, dynamic>({if (true) ...map else ...dyn});\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:40:26:\nError: Unexpected token 'if'.\n expectMapOf<int, int>({if (true) ...map else ...customMap});\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:42:21:\nError: Unexpected token 'if'.\n expectSetOf<int>({if (true) ...set else ...set});\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:43:25:\nError: Unexpected token 'if'.\n expectSetOf<dynamic>({if (true) ...set else ...dyn});\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:44:21:\nError: Unexpected token 'if'.\n expectSetOf<int>({if (true) ...set else ...iterable});\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:45:21:\nError: Unexpected token 'if'.\n expectSetOf<int>({if (true) ...set else ...customSet});\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:49:25:\nError: Unexpected token 'if'.\n expectSetOf<dynamic>({if (true) ...dyn else ...iterable});\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:50:25:\nError: Unexpected token 'if'.\n expectSetOf<dynamic>({if (true) ...dyn else ...customSet});\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:51:34:\nError: Unexpected token 'if'.\n expectMapOf<dynamic, dynamic>({if (true) ...dyn else ...customMap});\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:53:21:\nError: Unexpected token 'if'.\n expectSetOf<int>({if (true) ...iterable else ...iterable});\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:54:21:\nError: Unexpected token 'if'.\n expectSetOf<int>({if (true) ...iterable else ...customSet});\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:57:21:\nError: Unexpected token 'if'.\n expectSetOf<int>({if (true) ...customSet else ...customSet});\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:60:26:\nError: Unexpected token 'if'.\n expectMapOf<int, int>({if (true) ...customMap else ...customMap});\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:64:26:\nError: Unexpected token 'for'.\n expectMapOf<int, int>({for (; false;) ...map});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:65:21:\nError: Unexpected token 'for'.\n expectSetOf<int>({for (; false;) ...set});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:67:21:\nError: Unexpected token 'for'.\n expectSetOf<int>({for (; false;) ...iterable});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:68:21:\nError: Unexpected token 'for'.\n expectSetOf<int>({for (; false;) ...customSet});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:69:26:\nError: Unexpected token 'for'.\n expectMapOf<int, int>({for (; false;) ...customMap});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:71:26:\nError: Unexpected token 'for'.\n expectMapOf<int, int>({for (; false;) ...map, for (; false;) ...map});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:71:49:\nError: Unexpected token 'for'.\n expectMapOf<int, int>({for (; false;) ...map, for (; false;) ...map});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:74:8:\nError: Unexpected token 'for'.\n {for (; false;) ...map, for (; false;) ...dyn});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:74:31:\nError: Unexpected token 'for'.\n {for (; false;) ...map, for (; false;) ...dyn});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:78:8:\nError: Unexpected token 'for'.\n {for (; false;) ...map, for (; false;) ...customMap});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:78:31:\nError: Unexpected token 'for'.\n {for (; false;) ...map, for (; false;) ...customMap});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:80:21:\nError: Unexpected token 'for'.\n expectSetOf<int>({for (; false;) ...set, for (; false;) ...set});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:80:44:\nError: Unexpected token 'for'.\n expectSetOf<int>({for (; false;) ...set, for (; false;) ...set});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:81:25:\nError: Unexpected token 'for'.\n expectSetOf<dynamic>({for (; false;) ...set, for (; false;) ...dyn});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:81:48:\nError: Unexpected token 'for'.\n expectSetOf<dynamic>({for (; false;) ...set, for (; false;) ...dyn});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:82:21:\nError: Unexpected token 'for'.\n expectSetOf<int>({for (; false;) ...set, for (; false;) ...iterable});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:82:44:\nError: Unexpected token 'for'.\n expectSetOf<int>({for (; false;) ...set, for (; false;) ...iterable});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:83:21:\nError: Unexpected token 'for'.\n expectSetOf<int>({for (; false;) ...set, for (; false;) ...customSet});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:83:44:\nError: Unexpected token 'for'.\n expectSetOf<int>({for (; false;) ...set, for (; false;) ...customSet});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:88:8:\nError: Unexpected token 'for'.\n {for (; false;) ...dyn, for (; false;) ...iterable});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:88:31:\nError: Unexpected token 'for'.\n {for (; false;) ...dyn, for (; false;) ...iterable});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:90:8:\nError: Unexpected token 'for'.\n {for (; false;) ...dyn, for (; false;) ...customSet});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:90:31:\nError: Unexpected token 'for'.\n {for (; false;) ...dyn, for (; false;) ...customSet});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:92:8:\nError: Unexpected token 'for'.\n {for (; false;) ...dyn, for (; false;) ...customMap});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:92:31:\nError: Unexpected token 'for'.\n {for (; false;) ...dyn, for (; false;) ...customMap});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:95:8:\nError: Unexpected token 'for'.\n {for (; false;) ...iterable, for (; false;) ...iterable});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:95:36:\nError: Unexpected token 'for'.\n {for (; false;) ...iterable, for (; false;) ...iterable});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:97:8:\nError: Unexpected token 'for'.\n {for (; false;) ...iterable, for (; false;) ...customSet});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:97:36:\nError: Unexpected token 'for'.\n {for (; false;) ...iterable, for (; false;) ...customSet});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:102:8:\nError: Unexpected token 'for'.\n {for (; false;) ...customSet, for (; false;) ...customSet});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:102:37:\nError: Unexpected token 'for'.\n {for (; false;) ...customSet, for (; false;) ...customSet});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:107:8:\nError: Unexpected token 'for'.\n {for (; false;) ...customMap, for (; false;) ...customMap});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:107:37:\nError: Unexpected token 'for'.\n {for (; false;) ...customMap, for (; false;) ...customMap});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:114:24:\nError: Unexpected token 'if'.\n Map<int, int> map = {if (true) ...untypedMap};\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:115:19:\nError: Unexpected token 'if'.\n Set<int> set = {if (true) ...untypedIterable};\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:116:29:\nError: Unexpected token 'if'.\n Iterable<int> iterable = {if (true) ...untypedIterable};\n ^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:122:10:\nError: Unexpected token 'for'.\n map = {for (; false;) ...untypedMap};\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:123:10:\nError: Unexpected token 'for'.\n set = {for (; false;) ...untypedIterable};\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:124:15:\nError: Unexpected token 'for'.\n iterable = {for (; false;) ...untypedIterable};\n ^^^\nError: Compilation failed.\n\n--- Re-run this test:\npython tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/control_flow_collections/map_set_ambiguity_test\n\n\nFAILED: dart2js-d8 release_x64 language_2/spread_collections/syntax_test\nExpected: Pass\nActual: Crash\nUnexpected compile error.\n\n--- Command \"dart2js\" (took 639ms):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/tests/language_2/spread_collections/syntax_test.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_language_2_spread_collections_syntax_test/out.js\n\nexit code:\n253\n\nstdout:\nInfo: The --categories flag is deprecated, see the usage for details.\ntests/language_2/spread_collections/syntax_test.dart:10:6:\nInternal Error: The compiler crashed when compiling this element.\nvoid main() {\n ^\nThe compiler is broken.\n\nWhen compiling the above element, the compiler crashed. It is not\npossible to tell if this is caused by a problem in your program or\nnot. Regardless, the compiler should not crash.\n\nThe Dart team would greatly appreciate if you would take a moment to\nreport this problem at http://dartbug.com/new.\n\nPlease include the following information:\n\n* the name and version of your operating system,\n\n* the Dart SDK build number (2.2.1-edge.7cfe216e6b181147af046e74bb1220bb4119aee8), and\n\n* the entire message you see here (including the full stack trace\n below as well as the source location above).\n\nThe compiler crashed: Unsupported operation: Unhandled node block {\n final dart.core::List<dynamic> #t1 = <dynamic>[];\n for (final dynamic #t2 in <dynamic>[1, 2])\n #t1.{dart.core::List::add}(#t2);\n} =>#t1 (BlockExpression)\n#0 ScopeModelBuilder.defaultNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7)\n#1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39)\n#2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43)\n#3 TreeVisitor.visitBlockExpression (package:kernel/visitor.dart:189:51)\n#4 BlockExpression.accept (package:kernel/ast.dart:3768:36)\n#5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18)\n#6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39)\n#7 ScopeModelBuilder.visitStaticInvocation (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:822:5)\n#8 StaticInvocation.accept (package:kernel/ast.dart:2963:36)\n#9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18)\n#10 ScopeModelBuilder.visitExpressionStatement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:974:5)\n#11 ExpressionStatement.accept (package:kernel/ast.dart:3853:35)\n#12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18)\n#13 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39)\n#14 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:948:5)\n#15 Block.accept (package:kernel/ast.dart:3881:35)\n#16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18)\n#17 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5)\n#18 FunctionNode.accept (package:kernel/ast.dart:2111:30)\n#19 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18)\n#20 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7)\n#21 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18)\n#22 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5)\n#23 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5)\n#24 Procedure.accept (package:kernel/ast.dart:1773:32)\n#25 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12)\n#26 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20)\n#27 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:328:31)\n#28 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35)\n#29 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:327:43)\n#30 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:271:28)\n#31 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51)\n#32 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:256:26)\n#33 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70)\n#34 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35)\n#35 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32)\n#36 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35)\n#37 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28)\n#38 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15)\n#39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18)\n#40 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12)\n#41 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5)\n#42 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16)\n#43 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35)\n#44 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14)\n#45 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7)\n#46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35)\n#47 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14)\n#48 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5)\n#49 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17)\n#50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35)\n#51 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43)\n#52 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35)\n#53 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14)\n#54 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13)\n<asynchronous suspension>\n#55 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38)\n#56 new Future.sync (dart:async/future.dart:224:31)\n#57 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20)\n#58 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35)\n#59 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41)\n#60 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22)\n#61 _RootZone.runUnary (dart:async/zone.dart:1379:54)\n#62 _FutureListener.handleValue (dart:async/future_impl.dart:126:18)\n#63 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)\n#64 Future._propagateToListeners (dart:async/future_impl.dart:668:32)\n#65 Future._completeWithValue (dart:async/future_impl.dart:483:5)\n#66 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7)\n#67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)\n#68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)\n#69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13)\n#70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5)\n\n--- Re-run this test:\npython tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/syntax_test\n\n\nFAILED: dart2js-d8 release_x64 language_2/spread_collections/await_test\nExpected: Pass\nActual: Crash\nUnexpected compile error.\n\n--- Command \"dart2js\" (took 835ms):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/tests/language_2/spread_collections/await_test.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_language_2_spread_collections_await_test/out.js\n\nexit code:\n253\n\nstdout:\nInfo: The --categories flag is deprecated, see the usage for details.\ntests/language_2/spread_collections/await_test.dart:47:14:\nInternal Error: The compiler crashed when compiling this element.\nFuture<void> testSet() async {\n ^\nThe compiler is broken.\n\nWhen compiling the above element, the compiler crashed. It is not\npossible to tell if this is caused by a problem in your program or\nnot. Regardless, the compiler should not crash.\n\nThe Dart team would greatly appreciate if you would take a moment to\nreport this problem at http://dartbug.com/new.\n\nPlease include the following information:\n\n* the name and version of your operating system,\n\n* the Dart SDK build number (2.2.1-edge.7cfe216e6b181147af046e74bb1220bb4119aee8), and\n\n* the entire message you see here (including the full stack trace\n below as well as the source location above).\n\nThe compiler crashed: Unsupported operation: Unhandled node block {\n final dart.core::Set<dynamic> #t1 = dart.collection::LinkedHashSet::\u2022<dynamic>();\n for (final dynamic #t2 in await future12)\n #t1.{dart.core::Set::add}(#t2);\n #t1.{dart.core::Set::add}(3);\n for (final dynamic #t3 in await future45)\n #t1.{dart.core::Set::add}(#t3);\n} =>#t1 (BlockExpression)\n#0 ScopeModelBuilder.defaultNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7)\n#1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39)\n#2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43)\n#3 TreeVisitor.visitBlockExpression (package:kernel/visitor.dart:189:51)\n#4 BlockExpression.accept (package:kernel/ast.dart:3768:36)\n#5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18)\n#6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39)\n#7 ScopeModelBuilder.visitStaticInvocation (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:822:5)\n#8 StaticInvocation.accept (package:kernel/ast.dart:2963:36)\n#9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18)\n#10 ScopeModelBuilder.visitExpressionStatement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:974:5)\n#11 ExpressionStatement.accept (package:kernel/ast.dart:3853:35)\n#12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18)\n#13 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39)\n#14 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:948:5)\n#15 Block.accept (package:kernel/ast.dart:3881:35)\n#16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18)\n#17 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5)\n#18 FunctionNode.accept (package:kernel/ast.dart:2111:30)\n#19 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18)\n#20 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7)\n#21 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18)\n#22 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5)\n#23 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5)\n#24 Procedure.accept (package:kernel/ast.dart:1773:32)\n#25 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12)\n#26 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20)\n#27 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:328:31)\n#28 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35)\n#29 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:327:43)\n#30 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:271:28)\n#31 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51)\n#32 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:256:26)\n#33 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70)\n#34 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35)\n#35 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32)\n#36 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35)\n#37 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28)\n#38 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15)\n#39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18)\n#40 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12)\n#41 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5)\n#42 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16)\n#43 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35)\n#44 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14)\n#45 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7)\n#46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35)\n#47 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14)\n#48 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5)\n#49 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17)\n#50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35)\n#51 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43)\n#52 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35)\n#53 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14)\n#54 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13)\n<asynchronous suspension>\n#55 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38)\n#56 new Future.sync (dart:async/future.dart:224:31)\n#57 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20)\n#58 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35)\n#59 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41)\n#60 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22)\n#61 _RootZone.runUnary (dart:async/zone.dart:1379:54)\n#62 _FutureListener.handleValue (dart:async/future_impl.dart:126:18)\n#63 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)\n#64 Future._propagateToListeners (dart:async/future_impl.dart:668:32)\n#65 Future._completeWithValue (dart:async/future_impl.dart:483:5)\n#66 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7)\n#67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)\n#68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)\n#69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13)\n#70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5)\n\n--- Re-run this test:\npython tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/await_test\n\n\nFAILED: dart2js-d8 release_x64 lib_2/math/random_big_test\nExpected: Pass\nActual: RuntimeError\n\n--- Command \"dart2js\" (took 01.000202s):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/tests/lib_2/math/random_big_test.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_math_random_big_test/out.js\n\nexit code:\n0\n\nstdout:\nInfo: The --categories flag is deprecated, see the usage for details.\nCompiled 7,403,128 characters Dart to 20,571 characters JavaScript in 1.20 seconds\nDart file (/b/s/w/ir/tests/lib_2/math/random_big_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_math_random_big_test/out.js\n\n--- Command \"d8\" (took 39ms):\nDART_CONFIGURATION=ReleaseX64 /b/s/w/ir/third_party/d8/linux/d8 out/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/d8.js /b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_math_random_big_test/out.js\n\nexit code:\n1\n\nstdout:\n60: 85455\n61: 85455\nout/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/d8.js:263: Expect.isFalse(true) fails.\n throw e;\n ^\nExpect.isFalse(true) fails.\n at Object.a (/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_math_random_big_test/out.js:99:3)\n at Object.ak (/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_math_random_big_test/out.js:401:24)\n at Object.al (/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_math_random_big_test/out.js:400:3)\n at ad (/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_math_random_big_test/out.js:407:3)\n at action (out/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/d8.js:275:31)\n at eventLoop (out/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/d8.js:258:9)\n at self.dartMainRunner (out/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/d8.js:276:5)\n at /b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_math_random_big_test/out.js:590:39\n at /b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_math_random_big_test/out.js:586:55\n at dartProgram (/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_math_random_big_test/out.js:589:84)\n\n--- Re-run this test:\npython tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch lib_2/math/random_big_test\n\n\nFAILED: dart2js-d8 release_x64 lib_2/typed_data/unmodifiable_typed_data_test\nExpected: Pass\nActual: RuntimeError\n\n--- Command \"dart2js\" (took 01.000608s):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/tests/lib_2/typed_data/unmodifiable_typed_data_test.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/out.js\n\nexit code:\n0\n\nstdout:\nInfo: The --categories flag is deprecated, see the usage for details.\nCompiled 7,408,310 characters Dart to 48,323 characters JavaScript in 1.61 seconds\nDart file (/b/s/w/ir/tests/lib_2/typed_data/unmodifiable_typed_data_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/out.js\n\n--- Command \"d8\" (took 59ms):\nDART_CONFIGURATION=ReleaseX64 /b/s/w/ir/third_party/d8/linux/d8 out/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/d8.js /b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/out.js\n\nexit code:\n1\n\nstdout:\nout/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/d8.js:263: Unsupported operation: Int64List not supported by dart2js.\n throw e;\n ^\nUnsupported operation: Int64List not supported by dart2js.\n at Object.c (/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/out.js:108:3)\n at Object.cv (/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/out.js:723:9)\n at c3 (/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/out.js:801:3)\n at action (out/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/d8.js:275:31)\n at eventLoop (out/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/d8.js:258:9)\n at self.dartMainRunner (out/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/d8.js:276:5)\n at /b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/out.js:1446:39\n at /b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/out.js:1442:55\n at dartProgram (/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/out.js:1445:84)\n at /b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/out.js:1447:18\n\n--- Re-run this test:\npython tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch lib_2/typed_data/unmodifiable_typed_data_test\n\n\nFAILED: dart2js-d8 release_x64 lib_2/typed_data/typed_data_hierarchy_int64_test\nExpected: Pass\nActual: RuntimeError\n\n--- Command \"dart2js\" (took 01.000075s):\nDART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/tests/lib_2/typed_data/typed_data_hierarchy_int64_test.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/out.js\n\nexit code:\n0\n\nstdout:\nInfo: The --categories flag is deprecated, see the usage for details.\nCompiled 7,403,432 characters Dart to 22,920 characters JavaScript in 1.07 seconds\nDart file (/b/s/w/ir/tests/lib_2/typed_data/typed_data_hierarchy_int64_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/out.js\n\n--- Command \"d8\" (took 51ms):\nDART_CONFIGURATION=ReleaseX64 /b/s/w/ir/third_party/d8/linux/d8 out/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/d8.js /b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/out.js\n\nexit code:\n1\n\nstdout:\nout/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/d8.js:263: Unsupported operation: Int64List not supported by dart2js.\n throw e;\n ^\nUnsupported operation: Int64List not supported by dart2js.\n at Object.a (/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/out.js:100:3)\n at Object.aC (/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/out.js:486:24)\n at ap (/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/out.js:493:8)\n at action (out/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/d8.js:275:31)\n at eventLoop (out/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/d8.js:258:9)\n at self.dartMainRunner (out/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/d8.js:276:5)\n at /b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/out.js:638:39\n at /b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/out.js:634:55\n at dartProgram (/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/out.js:637:84)\n at /b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/out.js:639:18\n\n--- Re-run this test:\npython tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch lib_2/typed_data/typed_data_hierarchy_int64_test\n\n\n--- Total time: 02:26 ---\n0:00:07.598794 - dart2js - dart2js-d8 release_x64/lib_2/html/fileapi_directory_test\n0:00:07.445580 - dart2js - dart2js-d8 release_x64/lib_2/html/js_array_test\n0:00:07.009751 - dart2js - dart2js-d8 release_x64/lib_2/html/custom/document_register_type_extensions_test\n0:00:06.988381 - dart2js - dart2js-d8 release_x64/lib_2/html/js_dart_to_string_test\n0:00:06.870898 - dart2js - dart2js-d8 release_x64/lib_2/html/interactive_media_test\n0:00:06.867387 - dart2js - dart2js-d8 release_x64/lib_2/html/js_interop_constructor_name_error2_test\n0:00:06.841280 - dart2js - dart2js-d8 release_x64/lib_2/html/canvasrenderingcontext2d_test\n0:00:06.689865 - dart2js - dart2js-d8 release_x64/lib_2/html/custom_element_name_clash_test\n0:00:06.568939 - dart2js - dart2js-d8 release_x64/lib_2/html/custom/entered_left_view_test\n0:00:06.476186 - dart2js - dart2js-d8 release_x64/lib_2/html/js_dispatch_property_test\n0:00:06.441640 - dart2js - dart2js-d8 release_x64/lib_2/html/history_hash_change_test\n0:00:06.424203 - dart2js - dart2js-d8 release_x64/lib_2/html/indexeddb_3_test\n0:00:06.348024 - dart2js - dart2js-d8 release_x64/lib_2/html/indexeddb_1_test\n0:00:06.169888 - dart2js - dart2js-d8 release_x64/corelib_2/uri_test\n0:00:05.735715 - dart2js - dart2js-d8 release_x64/lib_2/html/custom/attribute_changed_callback_test\n0:00:04.930435 - d8 - dart2js-d8 release_x64/corelib_2/uri_test\n0:00:04.849552 - dart2js - dart2js-d8 release_x64/corelib_2/string_fromcharcodes_test\n0:00:04.837869 - dart2js - dart2js-d8 release_x64/corelib_2/apply3_test\n0:00:04.792295 - dart2js - dart2js-d8 release_x64/corelib_2/iterable_first_where_test\n0:00:04.343617 - dart2js - dart2js-d8 release_x64/corelib_2/string_base_vm_test\nINFO: Core dump archiving is activated\nINFO: No unexpected crashes recorded\n", "outputs_ref": { "isolated": "0edb93d58a15e8f67fee626a828fbe97b2f6a434", "isolatedserver": "https://isolateserver.appspot.com", "namespace": "default-gzip" }, "run_id": "438f1892d0f44511", "server_versions": [ "4181-8ab1a58" ], "started_ts": "2019-03-13T08:59:21.617235", "state": "COMPLETED", "tags": [ "build_is_experimental:false", "buildername:dart2js-minified-strong-linux-x64-d8-try", "buildnumber:10599", "cpu:x86-64", "data:172d60decf8371bb63faa13d56e0525dd4cea03e", "gerrit:https://dart-review.googlesource.com/c/94540/30", "master:dart.try", "name:dart2js", "os:Linux", "pool:dart.tests", "priority:25", "service_account:none", "slavename:trusty-dart-68765ebb-us-central1-b-mkpc", "spec_name:dart.try:dart2js-minified-strong-linux-x64-d8-try", "stepname:dart2js tests_shard_6", "swarming.pool.template:none", "swarming.pool.version:85458f36f55632a61a043bc9ea3385f439c01d5c", "user:None" ], "task_id": "438f1892d0f44510", "try_number": "1" } ] }