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

{ "shards": [ { "bot_dimensions": [ { "key": "caches", "value": [ "builder_fc87d8b756f6ef6f58af66318edbeaca820eb4af106a8048351c27566d7fbe87_v2", "git", "goma_v2", "swarming_module_cache_vpython", "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-6zcr" ] }, { "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": [ "4139-ace6083" ] }, { "key": "zone", "value": [ "us", "us-central", "us-central1", "us-central1-b" ] } ], "bot_id": "trusty-dart-68765ebb-us-central1-b-6zcr", "bot_version": "3a423e617b7b26feeba134eb7fe742b01bcb9b7d2e92c5995da03233083579ed", "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": "Now9GiVbvuCHP3bXVLnnCMcNAi58kShDN18sEQ9WzU0C" } ] }, "completed_ts": "2019-03-01T15:11:53.416444", "costs_usd": [ 0.0401186536449963 ], "created_ts": "2019-03-01T14:52:58.273937", "duration": 331.9697139263153, "modified_ts": "2019-03-01T15:11:53.416444", "name": "dart2js tests_shard_6/Linux/09a1e54469/dart2js-strong-hostasserts-linux-ia32-d8-try/10078", "output": "tools/testing/dart/main.dart:1: Warning: Interpreting this as package URI, 'package:test_dart/main.dart'.\nTest configuration:\n dart2js-hostasserts-linux-ia32-d8(architecture: ia32, compiler: dart2js, mode: release, runtime: d8, system: linux, vm-options: [], timeout: null, host-checked, preview-dart-2)\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: 1618 tests\n * 224 tests will be skipped (193 skipped by design)\n * 0 tests are expected to be flaky but not crash\n * 1 tests are expected to flaky crash\n * 1278 tests are expected to pass\n * 32 tests are expected to fail that we won't fix\n * 75 tests are expected to fail that we should fix\n * 1 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_ia32 language_2/control_flow_collections/for_test\nExpected: Pass\nActual: CompileTimeError\nUnexpected compile error.\n\n--- Command \"dart2js\" (took 613ms):\nDART_CONFIGURATION=ReleaseIA32 sdk/bin/dart2js_developer --enable-experiment=set-literals,control-flow-collections,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --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/ReleaseIA32/generated_compilations/dart2js/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>{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:49:\nError: Expected ',' before this.\n for (var i in <int>[0, 2]) ...<int>{1 + i: 1 + i, 2 + i: 2 + i}\n ^\ntests/language_2/control_flow_collections/for_test.dart:112:63:\nError: Expected ',' before this.\n for (var i in <int>[0, 2]) ...<int>{1 + i: 1 + i, 2 + i: 2 + 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>{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 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 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:135:20:\nError: The argument type 'List<int>' can't be assigned to the parameter type 'Map<dynamic, dynamic>'.\n - 'List' is from 'dart:core'.\n - 'Map' is from 'dart:core'.\n Expect.mapEquals([1],\n ^\ntests/language_2/control_flow_collections/for_test.dart:137:20:\nError: The argument type 'List<int>' can't be assigned to the parameter type 'Map<dynamic, dynamic>'.\n - 'List' is from 'dart:core'.\n - 'Map' is from 'dart:core'.\n Expect.mapEquals([1],\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.throwsCastError(() => <int>[for (; nonBool;) 1]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:234:43:\nError: Unexpected token 'for'.\n Expect.throwsCastError(() => <int, int>{for (; nonBool;) 1: 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:235:38:\nError: Unexpected token 'for'.\n Expect.throwsCastError(() => <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.throwsCastError(() => <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.throwsCastError(() => <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.throwsCastError(() => <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.throwsCastError(() => <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.throwsCastError(() => <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.throwsCastError(() => <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.throwsCastError(() => <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.throwsCastError(() => <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-hostasserts-linux-ia32-d8 --dart2js-batch language_2/control_flow_collections/for_test\n\n\nFAILED: dart2js-d8 release_ia32 language_2/control_flow_collections/if_test\nExpected: Pass\nActual: CompileTimeError\nUnexpected compile error.\n\n--- Command \"dart2js\" (took 607ms):\nDART_CONFIGURATION=ReleaseIA32 sdk/bin/dart2js_developer --enable-experiment=set-literals,control-flow-collections,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --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/ReleaseIA32/generated_compilations/dart2js/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:33:\nError: Unexpected token 'if'.\n Expect.listEquals(list, <int>[if (false) 9 for (var i in list) i]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:74:46:\nError: Expected ',' before this.\n Expect.listEquals(list, <int>[if (false) 9 for (var i in list) i]);\n ^^^\ntests/language_2/control_flow_collections/if_test.dart:74:55:\nError: 'i' is already declared in this scope.\n Expect.listEquals(list, <int>[if (false) 9 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:46:\nError: Unexpected token 'for'.\n Expect.listEquals(list, <int>[if (false) 9 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:36:\nError: Unexpected token 'if'.\n Expect.mapEquals(map, <int, int>{if (false) 9: 9 for (var i in list) i: i});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:125:52:\nError: Expected ',' before this.\n Expect.mapEquals(map, <int, int>{if (false) 9: 9 for (var i in list) i: i});\n ^^^\ntests/language_2/control_flow_collections/if_test.dart:125:61:\nError: 'i' is already declared in this scope.\n Expect.mapEquals(map, <int, int>{if (false) 9: 9 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:52:\nError: Unexpected token 'for'.\n Expect.mapEquals(map, <int, int>{if (false) 9: 9 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:31:\nError: Unexpected token 'if'.\n Expect.setEquals(set, <int>{if (false) 9 for (var i in list) i});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:177:44:\nError: Expected ',' before this.\n Expect.setEquals(set, <int>{if (false) 9 for (var i in list) i});\n ^^^\ntests/language_2/control_flow_collections/if_test.dart:177:53:\nError: 'i' is already declared in this scope.\n Expect.setEquals(set, <int>{if (false) 9 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:44:\nError: Unexpected token 'for'.\n Expect.setEquals(set, <int>{if (false) 9 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.throwsCastError(() => <int>[if (nonBool) 1]);\n ^^\ntests/language_2/control_flow_collections/if_test.dart:236:43:\nError: Unexpected token 'if'.\n Expect.throwsCastError(() => <int, int>{if (nonBool) 1: 1});\n ^^\ntests/language_2/control_flow_collections/if_test.dart:237:38:\nError: Unexpected token 'if'.\n Expect.throwsCastError(() => <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-hostasserts-linux-ia32-d8 --dart2js-batch language_2/control_flow_collections/if_test\n\n\nFAILED: dart2js-d8 release_ia32 language_2/control_flow_collections/if_const_test\nExpected: Pass\nActual: CompileTimeError\nUnexpected compile error.\n\n--- Command \"dart2js\" (took 720ms):\nDART_CONFIGURATION=ReleaseIA32 sdk/bin/dart2js_developer --enable-experiment=set-literals,control-flow-collections,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --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/ReleaseIA32/generated_compilations/dart2js/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:232:19:\nError: Can't find ')' to match '('.\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: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:75:68:\nError: Not a constant expression.\n Expect.identical(list, const <int>[if (true) for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:75:48:\nError: Unexpected token 'for'.\n Expect.identical(list, const <int>[if (true) for (var i in list) i]);\n ^^^\ntests/language_2/control_flow_collections/if_const_test.dart:78:38:\nError: Unexpected token 'if'.\n Expect.identical(list, const <int>[if (false) 9 for (var i in list) i]);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:78:51:\nError: Expected ',' before this.\n Expect.identical(list, const <int>[if (false) 9 for (var i in list) i]);\n ^^^\ntests/language_2/control_flow_collections/if_const_test.dart:78:60:\nError: 'i' is already declared in this scope.\n Expect.identical(list, const <int>[if (false) 9 for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:75:57:\nInfo: Previous declaration of 'i'.\n Expect.identical(list, const <int>[if (true) for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:78:71:\nError: Not a constant expression.\n Expect.identical(list, const <int>[if (false) 9 for (var i in list) i]);\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:78:51:\nError: Unexpected token 'for'.\n Expect.identical(list, const <int>[if (false) 9 for (var i in list) i]);\n ^^^\ntests/language_2/control_flow_collections/if_const_test.dart:83: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:86: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:90: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:93: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:96: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:99: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:102: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:106: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:106: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:106: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:109: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:110: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:114: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:115: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:120: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:120: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:124: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:127:72:\nError: Not a constant expression.\n Expect.identical(map, const <int, int>{if (true) for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:127:75:\nError: Not a constant expression.\n Expect.identical(map, const <int, int>{if (true) for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:127:52:\nError: Unexpected token 'for'.\n Expect.identical(map, const <int, int>{if (true) for (var i in list) i: i});\n ^^^\ntests/language_2/control_flow_collections/if_const_test.dart:131:24:\nError: Unexpected token 'if'.\n const <int, int>{if (false) 9: 9 for (var i in list) i: i});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:131:40:\nError: Expected ',' before this.\n const <int, int>{if (false) 9: 9 for (var i in list) i: i});\n ^^^\ntests/language_2/control_flow_collections/if_const_test.dart:131:49:\nError: 'i' is already declared in this scope.\n const <int, int>{if (false) 9: 9 for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:127:61:\nInfo: Previous declaration of 'i'.\n Expect.identical(map, const <int, int>{if (true) for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:131:60:\nError: Not a constant expression.\n const <int, int>{if (false) 9: 9 for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:131:63:\nError: Not a constant expression.\n const <int, int>{if (false) 9: 9 for (var i in list) i: i});\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:131:40:\nError: Unexpected token 'for'.\n const <int, int>{if (false) 9: 9 for (var i in list) i: i});\n ^^^\ntests/language_2/control_flow_collections/if_const_test.dart:136: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:139: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:142: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:145: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:148: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:151: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:154: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:158: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:158: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:158: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:161: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:162: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:165:48:\nError: Unexpected token 'if'.\n Expect.identical(const <int>[1], const <int>{if (true) [1]}.first);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:166:56:\nError: Unexpected token 'if'.\n Expect.identical(const <int, int>{1: 1}, const <int>{if (true) {1: 1}}.first);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:167:48:\nError: Unexpected token 'if'.\n Expect.identical(const <int>{1}, const <int>{if (true) {1}}.first);\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:171: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:171: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:175: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:175: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:178: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:181:67:\nError: Not a constant expression.\n Expect.identical(set, const <int>{if (true) for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:181:47:\nError: Unexpected token 'for'.\n Expect.identical(set, const <int>{if (true) for (var i in list) i});\n ^^^\ntests/language_2/control_flow_collections/if_const_test.dart:184:37:\nError: Unexpected token 'if'.\n Expect.identical(set, const <int>{if (false) 9 for (var i in list) i});\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:184:50:\nError: Expected ',' before this.\n Expect.identical(set, const <int>{if (false) 9 for (var i in list) i});\n ^^^\ntests/language_2/control_flow_collections/if_const_test.dart:184:59:\nError: 'i' is already declared in this scope.\n Expect.identical(set, const <int>{if (false) 9 for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:181:56:\nInfo: Previous declaration of 'i'.\n Expect.identical(set, const <int>{if (true) for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:184:70:\nError: Not a constant expression.\n Expect.identical(set, const <int>{if (false) 9 for (var i in list) i});\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:184:50:\nError: Unexpected token 'for'.\n Expect.identical(set, const <int>{if (false) 9 for (var i in list) i});\n ^^^\ntests/language_2/control_flow_collections/if_const_test.dart:195: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:195: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:197: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:197: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:5:\nError: Unexpected token 'if'.\n if (true) 1: 1,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:201:5:\nError: Unexpected token 'if'.\n if (false) nil + 1: 9,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:202:5:\nError: Unexpected token 'if'.\n if (false) 9: nil + 1\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:205: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:206: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:210: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:210: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:212: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:212: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:218: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:218: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:220: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:220: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:222: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:223:5:\nError: Unexpected token 'if'.\n if (true) 1: 1,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:224:5:\nError: Unexpected token 'if'.\n if (false) nonInt: 9,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:225:5:\nError: Unexpected token 'if'.\n if (false) 9: nonInt\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:228:5:\nError: Unexpected token 'if'.\n if (true) 1: 1 else nonInt: 9,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:229:5:\nError: Unexpected token 'if'.\n if (false) 9: nonInt else 2: 2\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:232: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:232: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:234: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:234: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:241:5:\nError: Unexpected token 'if'.\n if (false) 1: 1,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:242:5:\nError: Unexpected token 'if'.\n if (true) 2: 2 else 3: 3,\n ^^\ntests/language_2/control_flow_collections/if_const_test.dart:246: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:246: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:252: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:252: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:254: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:254: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:256: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:256: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:257: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:257: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:260: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:261: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-hostasserts-linux-ia32-d8 --dart2js-batch language_2/control_flow_collections/if_const_test\n\n\nFAILED: dart2js-d8 release_ia32 language_2/control_flow_collections/map_set_ambiguity_test\nExpected: Pass\nActual: CompileTimeError\nUnexpected compile error.\n\n--- Command \"dart2js\" (took 529ms):\nDART_CONFIGURATION=ReleaseIA32 sdk/bin/dart2js_developer --enable-experiment=set-literals,control-flow-collections,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --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/ReleaseIA32/generated_compilations/dart2js/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-hostasserts-linux-ia32-d8 --dart2js-batch language_2/control_flow_collections/map_set_ambiguity_test\n\n\nFAILED: dart2js-d8 release_ia32 language_2/spread_collections/syntax_test\nExpected: Pass\nActual: CompileTimeError\nUnexpected compile error.\n\n--- Command \"dart2js\" (took 436ms):\nDART_CONFIGURATION=ReleaseIA32 sdk/bin/dart2js_developer --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --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/ReleaseIA32/generated_compilations/dart2js/tests_language_2_spread_collections_syntax_test/out.js\n\nexit code:\n1\n\nstdout:\nInfo: The --categories flag is deprecated, see the usage for details.\ntests/language_2/spread_collections/syntax_test.dart:14:28:\nError: The argument type 'Map<dynamic, dynamic>' can't be assigned to the parameter type 'Iterable<dynamic>'.\n - 'Map' is from 'dart:core'.\n - 'Iterable' is from 'dart:core'.\n Expect.setEquals({1, 2}, {...{1, 2},});\n ^\nError: Compilation failed.\n\n--- Re-run this test:\npython tools/test.py -n dart2js-hostasserts-linux-ia32-d8 --dart2js-batch language_2/spread_collections/syntax_test\n\n1333 out of 1394 completed\nTests running for 5 minutes\n\nFAILED: dart2js-d8 release_ia32 lib_2/html/indexeddb_3_test\nExpected: Crash\nActual: RuntimeError\n\n--- Command \"dart2js\" (took 22.000394s):\nDART_CONFIGURATION=ReleaseIA32 sdk/bin/dart2js_developer --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/tests/lib_2/html/indexeddb_3_test.dart --out=/b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_html_indexeddb_3_test/out.js\n\nexit code:\n0\n\nstdout:\nInfo: The --categories flag is deprecated, see the usage for details.\nCompiled 7,653,772 characters Dart to 681,216 characters JavaScript in 22.4 seconds\nDart file (/b/s/w/ir/tests/lib_2/html/indexeddb_3_test.dart) compiled to JavaScript: out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_html_indexeddb_3_test/out.js\n\n--- Command \"d8\" (took 112ms):\nDART_CONFIGURATION=ReleaseIA32 /b/s/w/ir/third_party/d8/linux/d8 /b/s/w/ir/sdk/lib/_internal/js_runtime/lib/preambles/d8.js /b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_html_indexeddb_3_test/out.js\n\nexit code:\n1\n\nstdout:\n/b/s/w/ir/sdk/lib/_internal/js_runtime/lib/preambles/d8.js:263: ReferenceError: window is not defined\n throw e;\n ^\nReferenceError: window is not defined\n at main (/b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_html_indexeddb_3_test/out.js:6351:7)\n at action (/b/s/w/ir/sdk/lib/_internal/js_runtime/lib/preambles/d8.js:275:31)\n at eventLoop (/b/s/w/ir/sdk/lib/_internal/js_runtime/lib/preambles/d8.js:258:9)\n at self.dartMainRunner (/b/s/w/ir/sdk/lib/_internal/js_runtime/lib/preambles/d8.js:276:5)\n at /b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_html_indexeddb_3_test/out.js:16906:7\n at /b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_html_indexeddb_3_test/out.js:16892:7\n at dartProgram (/b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_html_indexeddb_3_test/out.js:16903:5)\n at /b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_html_indexeddb_3_test/out.js:16910:3\n\n--- Re-run this test:\npython tools/test.py -n dart2js-hostasserts-linux-ia32-d8 --dart2js-batch lib_2/html/indexeddb_3_test\n\n\nFAILED: dart2js-d8 release_ia32 lib_2/math/random_big_test\nExpected: Pass\nActual: RuntimeError\n\n--- Command \"dart2js\" (took 02.000385s):\nDART_CONFIGURATION=ReleaseIA32 sdk/bin/dart2js_developer --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --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/ReleaseIA32/generated_compilations/dart2js/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,402,325 characters Dart to 50,203 characters JavaScript in 2.38 seconds\nDart file (/b/s/w/ir/tests/lib_2/math/random_big_test.dart) compiled to JavaScript: out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_math_random_big_test/out.js\n\n--- Command \"d8\" (took 47ms):\nDART_CONFIGURATION=ReleaseIA32 /b/s/w/ir/third_party/d8/linux/d8 /b/s/w/ir/sdk/lib/_internal/js_runtime/lib/preambles/d8.js /b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_math_random_big_test/out.js\n\nexit code:\n1\n\nstdout:\n60: 85455\n61: 85455\n/b/s/w/ir/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.wrapException (/b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_math_random_big_test/out.js:313:17)\n at Object.Expect__fail (/b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_math_random_big_test/out.js:971:15)\n at Object.Expect_isFalse (/b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_math_random_big_test/out.js:968:9)\n at main (/b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_math_random_big_test/out.js:984:11)\n at action (/b/s/w/ir/sdk/lib/_internal/js_runtime/lib/preambles/d8.js:275:31)\n at eventLoop (/b/s/w/ir/sdk/lib/_internal/js_runtime/lib/preambles/d8.js:258:9)\n at self.dartMainRunner (/b/s/w/ir/sdk/lib/_internal/js_runtime/lib/preambles/d8.js:276:5)\n at /b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_math_random_big_test/out.js:1351:7\n at /b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_math_random_big_test/out.js:1337:7\n at dartProgram (/b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_math_random_big_test/out.js:1348:5)\n\n--- Re-run this test:\npython tools/test.py -n dart2js-hostasserts-linux-ia32-d8 --dart2js-batch lib_2/math/random_big_test\n\n\nFAILED: dart2js-d8 release_ia32 lib_2/typed_data/unmodifiable_typed_data_test\nExpected: Pass\nActual: RuntimeError\n\n--- Command \"dart2js\" (took 03.000339s):\nDART_CONFIGURATION=ReleaseIA32 sdk/bin/dart2js_developer --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --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/ReleaseIA32/generated_compilations/dart2js/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,407,507 characters Dart to 120,034 characters JavaScript in 3.33 seconds\nDart file (/b/s/w/ir/tests/lib_2/typed_data/unmodifiable_typed_data_test.dart) compiled to JavaScript: out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_typed_data_unmodifiable_typed_data_test/out.js\n\n--- Command \"d8\" (took 72ms):\nDART_CONFIGURATION=ReleaseIA32 /b/s/w/ir/third_party/d8/linux/d8 /b/s/w/ir/sdk/lib/_internal/js_runtime/lib/preambles/d8.js /b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_typed_data_unmodifiable_typed_data_test/out.js\n\nexit code:\n1\n\nstdout:\n/b/s/w/ir/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.wrapException (/b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_typed_data_unmodifiable_typed_data_test/out.js:335:17)\n at Object.Int64List_Int64List$fromList (/b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_typed_data_unmodifiable_typed_data_test/out.js:1728:15)\n at main (/b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_typed_data_unmodifiable_typed_data_test/out.js:1859:9)\n at action (/b/s/w/ir/sdk/lib/_internal/js_runtime/lib/preambles/d8.js:275:31)\n at eventLoop (/b/s/w/ir/sdk/lib/_internal/js_runtime/lib/preambles/d8.js:258:9)\n at self.dartMainRunner (/b/s/w/ir/sdk/lib/_internal/js_runtime/lib/preambles/d8.js:276:5)\n at /b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_typed_data_unmodifiable_typed_data_test/out.js:3074:7\n at /b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_typed_data_unmodifiable_typed_data_test/out.js:3060:7\n at dartProgram (/b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_typed_data_unmodifiable_typed_data_test/out.js:3071:5)\n at /b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_typed_data_unmodifiable_typed_data_test/out.js:3078:3\n\n--- Re-run this test:\npython tools/test.py -n dart2js-hostasserts-linux-ia32-d8 --dart2js-batch lib_2/typed_data/unmodifiable_typed_data_test\n\n\nFAILED: dart2js-d8 release_ia32 lib_2/typed_data/typed_data_hierarchy_int64_test\nExpected: Pass\nActual: RuntimeError\n\n--- Command \"dart2js\" (took 02.000172s):\nDART_CONFIGURATION=ReleaseIA32 sdk/bin/dart2js_developer --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --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/ReleaseIA32/generated_compilations/dart2js/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,402,629 characters Dart to 56,672 characters JavaScript in 2.17 seconds\nDart file (/b/s/w/ir/tests/lib_2/typed_data/typed_data_hierarchy_int64_test.dart) compiled to JavaScript: out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/out.js\n\n--- Command \"d8\" (took 57ms):\nDART_CONFIGURATION=ReleaseIA32 /b/s/w/ir/third_party/d8/linux/d8 /b/s/w/ir/sdk/lib/_internal/js_runtime/lib/preambles/d8.js /b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/out.js\n\nexit code:\n1\n\nstdout:\n/b/s/w/ir/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.wrapException (/b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/out.js:316:17)\n at Object.Int64List_Int64List (/b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/out.js:1190:15)\n at main (/b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/out.js:1210:19)\n at action (/b/s/w/ir/sdk/lib/_internal/js_runtime/lib/preambles/d8.js:275:31)\n at eventLoop (/b/s/w/ir/sdk/lib/_internal/js_runtime/lib/preambles/d8.js:258:9)\n at self.dartMainRunner (/b/s/w/ir/sdk/lib/_internal/js_runtime/lib/preambles/d8.js:276:5)\n at /b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/out.js:1513:7\n at /b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/out.js:1499:7\n at dartProgram (/b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/out.js:1510:5)\n at /b/s/w/ir/out/ReleaseIA32/generated_compilations/dart2js/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/out.js:1517:3\n\n--- Re-run this test:\npython tools/test.py -n dart2js-hostasserts-linux-ia32-d8 --dart2js-batch lib_2/typed_data/typed_data_hierarchy_int64_test\n\n\n--- Total time: 05:30 ---\n0:00:33.906022 - dart2js - dart2js-d8 release_ia32/corelib_2/linked_hash_map_test\n0:00:32.941351 - dart2js - dart2js-d8 release_ia32/corelib_2/string_buffer_test\n0:00:32.820360 - dart2js - dart2js-d8 release_ia32/vm/dart/regress_35887_test\n0:00:32.661047 - dart2js - dart2js-d8 release_ia32/vm/dart/optimized_stacktrace_line_and_column_test\n0:00:31.860497 - dart2js - dart2js-d8 release_ia32/vm/dart/single_target_and_method_extractors_test\n0:00:30.825597 - dart2js - dart2js-d8 release_ia32/vm/dart/slow_path_shared_stub_test\n0:00:30.704551 - dart2js - dart2js-d8 release_ia32/vm/dart/regress30853_test\n0:00:29.622018 - dart2js - dart2js-d8 release_ia32/vm/dart/regress29620_test\n0:00:22.394032 - dart2js - dart2js-d8 release_ia32/lib_2/html/indexeddb_3_test\n0:00:21.264684 - dart2js - dart2js-d8 release_ia32/lib_2/html/canvasrenderingcontext2d_test\n0:00:21.163256 - dart2js - dart2js-d8 release_ia32/lib_2/html/js_array_test\n0:00:20.282817 - dart2js - dart2js-d8 release_ia32/lib_2/html/interactive_media_test\n0:00:20.194585 - dart2js - dart2js-d8 release_ia32/lib_2/html/fileapi_directory_test\n0:00:20.151495 - dart2js - dart2js-d8 release_ia32/lib_2/html/js_interop_constructor_name_error2_test\n0:00:19.968513 - dart2js - dart2js-d8 release_ia32/lib_2/html/js_dart_to_string_test\n0:00:19.297795 - dart2js - dart2js-d8 release_ia32/lib_2/html/custom/document_register_type_extensions_test\n0:00:19.124323 - dart2js - dart2js-d8 release_ia32/lib_2/html/indexeddb_1_test\n0:00:19.007332 - dart2js - dart2js-d8 release_ia32/lib_2/html/custom_element_name_clash_test\n0:00:18.798005 - dart2js - dart2js-d8 release_ia32/lib_2/html/custom/entered_left_view_test\n0:00:18.325437 - dart2js - dart2js-d8 release_ia32/lib_2/html/history_hash_change_test\nINFO: Core dump archiving is activated\nINFO: No unexpected crashes recorded\n", "outputs_ref": { "isolated": "42445e66cf030a0e132a4675b0529df49ed38375", "isolatedserver": "https://isolateserver.appspot.com", "namespace": "default-gzip" }, "run_id": "43529002397dce11", "server_versions": [ "4139-ace6083" ], "started_ts": "2019-03-01T15:06:06.115077", "state": "COMPLETED", "tags": [ "build_is_experimental:false", "buildername:dart2js-strong-hostasserts-linux-ia32-d8-try", "buildnumber:10078", "cpu:x86-64", "data:09a1e5446916152c36f012435f8d53359029eb2f", "gerrit:https://dart-review.googlesource.com/c/95022/3", "master:dart.try", "name:dart2js", "os:Linux", "pool:dart.tests", "priority:25", "service_account:none", "slavename:trusty-dart-68765ebb-us-central1-b-d401", "spec_name:dart.try:dart2js-strong-hostasserts-linux-ia32-d8-try", "stepname:dart2js tests_shard_6", "swarming.pool.template:none", "swarming.pool.version:608062ab1e35482c6590c4cb4cdffe32736836ae", "user:None" ], "task_id": "43529002397dce10", "try_number": "1" } ] }