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

{ "shards": [ { "bot_dimensions": [ { "key": "caches", "value": [ "builder_d6f396784d1bacfeb26d12c7d2f46eacb6fe10d26ab756565a33004b6afc6592_v2", "git", "goma_v2", "swarming_module_cache_vpython", "vpython" ] }, { "key": "cores", "value": [ "8" ] }, { "key": "cpu", "value": [ "x86", "x86-64", "x86-64-Haswell_GCE" ] }, { "key": "gce", "value": [ "1" ] }, { "key": "gpu", "value": [ "none" ] }, { "key": "id", "value": [ "win10-dart-fedce810-us-central1-c-c1j8" ] }, { "key": "image", "value": [ "chrome-win10-1703-2018-04-20-61acaf8983f" ] }, { "key": "integrity", "value": [ "high" ] }, { "key": "locale", "value": [ "en_US.cp1252" ] }, { "key": "machine_type", "value": [ "n1-standard-8" ] }, { "key": "os", "value": [ "Windows", "Windows-10", "Windows-10-15063" ] }, { "key": "pool", "value": [ "dart.tests", "luci.dart.try" ] }, { "key": "python", "value": [ "2.7.13" ] }, { "key": "server_version", "value": [ "4105-f0295a3" ] }, { "key": "zone", "value": [ "us", "us-central", "us-central1", "us-central1-c" ] } ], "bot_id": "win10-dart-fedce810-us-central1-c-c1j8", "bot_version": "067619378aee83df0d9b221730bf7bd600247a566a1619830a6ccab246ac35d4", "cipd_pins": { "client_package": { "package_name": "infra/tools/cipd/windows-amd64", "version": "zdnhfpa9SEHKowDgpeM5nc673_9w-3_EmegrKl-VwPcC" }, "packages": [ { "package_name": "infra/python/cpython/windows-amd64", "path": ".swarming_module", "version": "1ba7d485930b05eb07f6bc7724447d6a7c22a6b6" }, { "package_name": "infra/tools/luci/logdog/butler/windows-amd64", "path": ".swarming_module", "version": "6ebe1bb92c2ff24f74be618f56f4219b8eba551b" }, { "package_name": "infra/tools/luci/vpython-native/windows-amd64", "path": ".swarming_module", "version": "gdyQzhhSN4yori6wIMZjsqGpgDrkuaB-NREYz4BZ_rMC" }, { "package_name": "infra/tools/luci/vpython/windows-amd64", "path": ".swarming_module", "version": "EUJh_9q20TnqjtRumVX8fcDubyBDjOpzAl-sJSKGN2EC" }, { "package_name": "dart/browsers/chrome/windows-amd64", "path": "browsers", "version": "72dd9bc30ff8d2a4db061b7f32bbb32f67bb8676" }, { "package_name": "dart/dart-sdk/windows-amd64", "path": "tools/sdks", "version": "tT_oKQ8iwBFzhrzP_w6WOp8XnZS1js9jypTToP7jkfcC" } ] }, "completed_ts": "2019-02-15T09:51:05.947541", "costs_usd": [ 0.12527054609820404 ], "created_ts": "2019-02-15T09:19:50.869000", "duration": 493.7260000705719, "modified_ts": "2019-02-15T09:51:05.947541", "name": "dart2js tests_shard_6/Windows/5c841dbd13/dart2js-strong-win-x64-chrome-dev/35", "output": "1965 files remaining...\ntools/testing/dart/main.dart:1: Warning: Interpreting this as package URI, 'package:test_dart/main.dart'.\nTest configuration:\n dart2js-win-chrome(architecture: x64, compiler: dart2js, mode: release, runtime: chrome, system: win, vm-options: [], timeout: null, preview-dart-2, use-sdk)\nSuites tested: samples, standalone, standalone_2, corelib_2, language_2, vm, benchmark_smoke, utils, lib_2, analyze_library, service, kernel\nDirectory containing tests missing: C:\\b\\s\\w\\ir\\runtime\\observatory\\tests\\service\nTotal: 1635 tests\n * 223 tests will be skipped (190 skipped by design)\n * 2 tests are expected to be flaky but not crash\n * 0 tests are expected to flaky crash\n * 1336 tests are expected to pass\n * 32 tests are expected to fail that we won't fix\n * 34 tests are expected to fail that we should fix\n * 0 tests are expected to crash that we should fix\n * 0 tests are allowed to timeout\n * 8 could not be categorized or are in multiple categories\n\n\nFAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_test\nExpected: Pass\nActual: CompileTimeError\nUnexpected compile error.\n\n--- Command \"dart2js\" (took 328ms):\nset DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\\ReleaseX64\\dart-sdk\\bin\\dart2js.bat --generate-code-with-compile-time-errors --test-mode --packages=C:\\b\\s\\w\\ir\\.packages --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/tests_language_2_control_flow_collections_if_test/test.js C:\\b\\s\\w\\ir\\tests\\language_2\\control_flow_collections\\if_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --preview-dart-2\n\nexit code:\n1\n\nstdout:\ntests/language_2/control_flow_collections/if_test.dart:58:19:\nError: Can't find ')' to match '('.\n Expect.setEquals({1}, [if (true) {1}].first;\n ^\ntests/language_2/control_flow_collections/if_test.dart:57:19:\nError: Can't find ')' to match '('.\n Expect.mapEquals({1: 1}, [if (true) {1: 1}].first;\n ^\ntests/language_2/control_flow_collections/if_test.dart:56:20:\nError: Can't find ')' to match '('.\n Expect.listEquals([1], [if (true) [1]].first;\n ^\ntests/language_2/control_flow_collections/if_test.dart:161:19:\nError: Can't find ')' to match '('.\n Expect.setEquals({1}, {if (true) {1}}.first;\n ^\ntests/language_2/control_flow_collections/if_test.dart:160:19:\nError: Can't find ')' to match '('.\n Expect.mapEquals({1: 1}, {if (true) {1: 1}}.first;\n ^\ntests/language_2/control_flow_collections/if_test.dart:159:20:\nError: Can't find ')' to match '('.\n Expect.listEquals([1], {if (true) [1]}.first;\n ^\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:23:\nError: Unexpected token '...'.\n <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]);\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:57:\nError: Unexpected token '...'.\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:32:\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:65:55:\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:68:32:\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:71:33:\nError: Unexpected token 'if'.\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:62:31:\nError: A value of type 'List<int>' can't be assigned to a variable of type 'int'.\n - 'List' is from 'dart:core'.\n <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]);\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:15:\nError: Unexpected token '...'.\n if (true) ...<int, int>{1: 1, 2: 2},\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:26:\nError: Unexpected token '...'.\n if (false) 9: 9 else ...<int, int>{3: 3}\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:18:\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:115:44:\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:119:18:\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:122:36:\nError: Unexpected token 'if'.\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:23:\nError: Unexpected token '...'.\n <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]});\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:57:\nError: Unexpected token '...'.\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:31:\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:168:54:\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:171:31:\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:174:31:\nError: Unexpected token 'if'.\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:165:31:\nError: A value of type 'List<int>' can't be assigned to a variable of type 'int'.\n - 'List' is from 'dart:core'.\n <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]});\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-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_test\n\n\nFAILED: dart2js-chrome release_x64 language_2/control_flow_collections/for_test\nExpected: Pass\nActual: CompileTimeError\nUnexpected compile error.\n\n--- Command \"dart2js\" (took 01.000190s):\nset DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\\ReleaseX64\\dart-sdk\\bin\\dart2js.bat --generate-code-with-compile-time-errors --test-mode --packages=C:\\b\\s\\w\\ir\\.packages --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/tests_language_2_control_flow_collections_for_test/test.js C:\\b\\s\\w\\ir\\tests\\language_2\\control_flow_collections\\for_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --preview-dart-2\n\nexit code:\n1\n\nstdout:\ntests/language_2/control_flow_collections/for_test.dart:64:19:\nError: Can't find ')' to match '('.\n Expect.setEquals({1}, [for (var i = 1; i < 2; i++) {i}].first;\n ^\ntests/language_2/control_flow_collections/for_test.dart:63:19:\nError: Can't find ')' to match '('.\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:62:20:\nError: Can't find ')' to match '('.\n Expect.listEquals([1], [for (var i = 1; i < 2; i++) [i]].first;\n ^\ntests/language_2/control_flow_collections/for_test.dart:181:19:\nError: Can't find ')' to match '('.\n Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first;\n ^\ntests/language_2/control_flow_collections/for_test.dart:180:19:\nError: Can't find ')' to match '('.\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:179:20:\nError: Can't find ')' to match '('.\n Expect.listEquals([1], {for (var i = 1; i < 2; i++) [i]}.first;\n ^\ntests/language_2/control_flow_collections/for_test.dart:181:26:\nError: Expected an identifier, but got 'for'.\n Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first;\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:181:37:\nError: Non-optional parameters can't have a default value.\n Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first;\n ^\ntests/language_2/control_flow_collections/for_test.dart:181:40:\nError: Expected ')' before this.\n Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first;\n ^\ntests/language_2/control_flow_collections/for_test.dart:181:57:\nError: Expected a declaration, but got '}'.\n Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first;\n ^\ntests/language_2/control_flow_collections/for_test.dart:181:58:\nError: Expected a declaration, but got '.'.\n Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first;\n ^\ntests/language_2/control_flow_collections/for_test.dart:181:59:\nError: Variables must be declared using the keywords 'const', 'final', 'var' or a type name.\n Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first;\n ^^^^^\ntests/language_2/control_flow_collections/for_test.dart:184:3:\nError: A function declaration needs an explicit list of parameters.\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:184:9:\nError: Expected '{' before this.\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:184:9:\nError: Expected a declaration, but got '.'.\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:184:25:\nError: Expected an identifier, but got '<'.\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:184:26:\nError: Expected ')' before this.\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:184:67:\nError: Expected a function body or '=>'.\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:3:\nError: A function declaration needs an explicit list of parameters.\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:187:9:\nError: Expected '{' before this.\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:187:3:\nError: 'Expect' 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:3:\nInfo: Previous declaration of 'Expect'.\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:9:\nError: Expected a declaration, but got '.'.\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:187:25:\nError: Expected an identifier, but got '<'.\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:187:26:\nError: Expected ')' before this.\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:187:67:\nError: Expected a function body or '=>'.\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:187:10:\nError: 'setEquals' 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:10:\nInfo: Previous declaration of 'setEquals'.\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:190:3:\nError: A function declaration needs an explicit list of parameters.\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:190:9:\nError: Expected '{' before this.\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:190:3:\nError: 'Expect' 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:187:3:\nInfo: Previous declaration of 'Expect'.\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:9:\nError: Expected a declaration, but got '.'.\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:190:21:\nError: Expected an identifier, but got '1'.\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:190:23:\nError: Expected ')' before this.\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:190:75:\nError: Expected a function body or '=>'.\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:190:10:\nError: 'setEquals' 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:187:10:\nInfo: Previous declaration of 'setEquals'.\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:191:3:\nError: A function declaration needs an explicit list of parameters.\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:191:9:\nError: Expected '{' before this.\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:191:3:\nError: 'Expect' 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:190:3:\nInfo: Previous declaration of 'Expect'.\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:9:\nError: Expected a declaration, but got '.'.\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:191:21:\nError: Expected an identifier, but got '1'.\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:191:23:\nError: Expected ')' before this.\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:191:74:\nError: Expected a function body or '=>'.\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:191:10:\nError: 'setEquals' 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:190:10:\nInfo: Previous declaration of 'setEquals'.\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:192:1:\nError: Expected a declaration, but got '}'.\n}\n^\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:26:3:\nError: Can't use 'Expect' because it is declared more than once.\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:29:3:\nError: Can't use 'Expect' because it is declared more than once.\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:32:3:\nError: Can't use 'Expect' because it is declared more than once.\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:35:3:\nError: Can't use 'Expect' because it is declared more than once.\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:38:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.listEquals(list,\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:42:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.listEquals(list,\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:40:\nError: Unexpected token '...'.\n <int>[for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + 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:46:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.listEquals(list,\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:51:13:\nError: Unexpected token 'for'.\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:50:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.listEquals(list,\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:55:13:\nError: Unexpected token 'for'.\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:54:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.listEquals(list,\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:59:13:\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:58:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.listEquals(list,\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:62:3:\nError: Can't use 'Expect' because it is declared more than once.\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:63:3:\nError: Can't use 'Expect' because it is declared more than once.\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:64:3:\nError: Can't use 'Expect' because it is declared more than once.\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:67:3:\nError: Can't use 'Expect' because it is declared more than once.\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:70:3:\nError: Can't use 'Expect' because it is declared more than once.\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:73:3:\nError: Can't use 'Expect' because it is declared more than once.\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:74:3:\nError: Can't use 'Expect' because it is declared more than once.\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:47:48:\nError: A value of type 'List<int>' can't be assigned to a variable of type 'int'.\n - 'List' is from 'dart:core'.\n <int>[for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + 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:79:3:\nError: Can't use 'Expect' because it is declared more than once.\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:82:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.mapEquals(map,\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:86:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.mapEquals(map,\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:90:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.mapEquals(map,\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:94:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.mapEquals(map, <int, int>{\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:104:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.mapEquals(map, <int, int>{\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:46:\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:32:\nError: Unexpected token '...'.\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:111:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.mapEquals(map, <int, int>{\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:117:18:\nError: Unexpected token 'for'.\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:116:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.mapEquals(map,\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:67:\nError: Expected ':' before this.\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:121:67:\nError: Expected an identifier, but got 'else'.\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: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:121:18:\nError: Unexpected token 'for'.\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:120:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.mapEquals(map,\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:125:5:\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:124:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.mapEquals(map, <int, int>{\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:129:3:\nError: Can't use 'Expect' because it is declared more than once.\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:132:3:\nError: Can't use 'Expect' because it is declared more than once.\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:135:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.mapEquals([1],\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:137:3:\nError: Can't use 'Expect' because it is declared more than once.\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:143:3:\nError: Can't use 'Expect' because it is declared more than once.\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:146:3:\nError: Can't use 'Expect' because it is declared more than once.\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:149:3:\nError: Can't use 'Expect' because it is declared more than once.\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:152:3:\nError: Can't use 'Expect' because it is declared more than once.\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:155:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.setEquals(set,\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:159:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.setEquals(set,\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:40:\nError: Unexpected token '...'.\n <int>{for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + 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:163:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.setEquals(set,\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:168:13:\nError: Unexpected token 'for'.\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:167:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.setEquals(set,\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:172:13:\nError: Unexpected token 'for'.\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:171:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.setEquals(set,\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:176:13:\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:175:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.setEquals(set,\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:179:3:\nError: Can't use 'Expect' because it is declared more than once.\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:180:3:\nError: Can't use 'Expect' because it is declared more than once.\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:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first;\n ^\ntests/language_2/control_flow_collections/for_test.dart:181:23:\nError: Expected ';' after this.\n Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first;\n ^\ntests/language_2/control_flow_collections/for_test.dart:164:48:\nError: A value of type 'List<int>' can't be assigned to a variable of type 'int'.\n - 'List' is from 'dart:core'.\n <int>{for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]});\n ^\ntests/language_2/control_flow_collections/for_test.dart:181:55:\nError: Expected ';' after this.\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:195:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.mapEquals(map, <int, int>{\n ^\ntests/language_2/control_flow_collections/for_test.dart:203: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:203: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:204: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:204:5:\nError: Unexpected token 'for'.\n for (var i = 2; i <= 3; i++) i,\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:201:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.setEquals(set, <int>{\n ^\ntests/language_2/control_flow_collections/for_test.dart:220: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:222:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.equals(\"1:a,2:a\", map.keys.join(\",\"));\n ^\ntests/language_2/control_flow_collections/for_test.dart:224: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:220: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:224: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:225:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.equals(\"1:a,2:a\", set.join(\",\"));\n ^\ntests/language_2/control_flow_collections/for_test.dart:231:38:\nError: Unexpected token 'for'.\n Expect.throwsCastError(() => <int>[for (; nonBool;) 1]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:231:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.throwsCastError(() => <int>[for (; nonBool;) 1]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:232:43:\nError: Unexpected token 'for'.\n Expect.throwsCastError(() => <int, int>{for (; nonBool;) 1: 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:232:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.throwsCastError(() => <int, int>{for (; nonBool;) 1: 1});\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:233:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.throwsCastError(() => <int>{for (; nonBool;) 1});\n ^\ntests/language_2/control_flow_collections/for_test.dart:237:43:\nError: Unexpected token 'for'.\n Expect.throwsAssertionError(() => <int>[for (; nullBool;) 1]);\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:237:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.throwsAssertionError(() => <int>[for (; nullBool;) 1]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:238:48:\nError: Unexpected token 'for'.\n Expect.throwsAssertionError(() => <int, int>{for (; nullBool;) 1: 1});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:238:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.throwsAssertionError(() => <int, int>{for (; nullBool;) 1: 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:239:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.throwsAssertionError(() => <int>{for (; nullBool;) 1});\n ^\ntests/language_2/control_flow_collections/for_test.dart:243: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:243:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.throwsCastError(() => <int>[for (int i = nonInt; false;) 1]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:244: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:244:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.throwsCastError(() => <int, int>{for (int i = nonInt; false;) 1: 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:245:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.throwsCastError(() => <int>{for (int i = nonInt; false;) 1});\n ^\ntests/language_2/control_flow_collections/for_test.dart:249: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:249:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.throwsCastError(() => <int>[for (int i in nonIterable) 1]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:250: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:250:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.throwsCastError(() => <int, int>{for (int i in nonIterable) 1: 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:251:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.throwsCastError(() => <int>{for (int i in nonIterable) 1});\n ^\ntests/language_2/control_flow_collections/for_test.dart:255: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:255:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.throwsNoSuchMethodError(() => <int>[for (var i in nullIterable) 1]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:257: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:256:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.throwsNoSuchMethodError(\n ^\ntests/language_2/control_flow_collections/for_test.dart:258: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:258:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.throwsNoSuchMethodError(() => <int>{for (var i in nullIterable) 1});\n ^\ntests/language_2/control_flow_collections/for_test.dart:261: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:261:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.throwsCastError(() => <int>[for (var i = 0; i < 1; i++) nonInt]);\n ^\ntests/language_2/control_flow_collections/for_test.dart:263: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:262:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.throwsCastError(\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++) 1: nonInt});\n ^^^\ntests/language_2/control_flow_collections/for_test.dart:264:3:\nError: Can't use 'Expect' because it is declared more than once.\n Expect.throwsCastError(\n ^\ntests/language_2/control_flow_collections/for_test.dart:266: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:266:3:\nError: Can't use 'Expect' because it is declared more than once.\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-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/for_test\n\n\nFAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_const_test\nExpected: Pass\nActual: CompileTimeError\nUnexpected compile error.\n\n--- Command \"dart2js\" (took 927ms):\nset DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\\ReleaseX64\\dart-sdk\\bin\\dart2js.bat --generate-code-with-compile-time-errors --test-mode --packages=C:\\b\\s\\w\\ir\\.packages --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/tests_language_2_control_flow_collections_if_const_test/test.js C:\\b\\s\\w\\ir\\tests\\language_2\\control_flow_collections\\if_const_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --preview-dart-2\n\nexit code:\n1\n\nstdout:\ntests/language_2/control_flow_collections/if_const_test.dart:61:19:\nError: Can't find ')' to match '('.\n Expect.identical(const {1}, const [if (true) {1}].first;\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:60:19:\nError: Can't find ')' to match '('.\n Expect.identical(const {1: 1}, const [if (true) {1: 1}].first;\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:59:19:\nError: Can't find ')' to match '('.\n Expect.identical(const [1], const [if (true) [1]].first;\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:167:19:\nError: Can't find ')' to match '('.\n Expect.identical(const <int>{1}, const <int>{if (true) {1}}.first;\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:166:19:\nError: Can't find ')' to match '('.\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:165:19:\nError: Can't find ')' to match '('.\n Expect.identical(const <int>[1], const <int>{if (true) [1]}.first;\n ^\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:29:\nError: Unexpected token '...'.\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: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:63:\nError: Unexpected token '...'.\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:19:\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:69:42:\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:72:43:\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:75:38:\nError: Unexpected token 'if'.\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:65:37:\nError: A value of type 'List<int>' can't be assigned to a variable of type 'int'.\n - 'List' is from 'dart:core'.\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: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:15:\nError: Unexpected token '...'.\n if (true) ...<int, int>{1: 1, 2: 2},\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:26:\nError: Unexpected token '...'.\n if (false) 9: 9 else ...<int, int>{3: 3}\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:24:\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:120:50:\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:124:24:\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:127:42:\nError: Unexpected token 'if'.\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:29:\nError: Unexpected token '...'.\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: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:63:\nError: Unexpected token '...'.\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:19:\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:175:42:\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:178:48:\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:181:37:\nError: Unexpected token 'if'.\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:165:58:\nError: A value of type 'List<int>' can't be assigned to a variable of type 'int'.\n - 'List' is from 'dart:core'.\n Expect.identical(const <int>[1], const <int>{if (true) [1]}.first;\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:166:66:\nError: A value of type 'Map<int, int>' can't be assigned to a variable of type 'int'.\n - 'Map' is from 'dart:core'.\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:58:\nError: A value of type 'Set<int>' can't be assigned to a variable of type 'int'.\n - 'Set' is from 'dart:core'.\n Expect.identical(const <int>{1}, const <int>{if (true) {1}}.first;\n ^\ntests/language_2/control_flow_collections/if_const_test.dart:171:37:\nError: A value of type 'List<int>' can't be assigned to a variable of type 'int'.\n - 'List' is from 'dart:core'.\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: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:205:16:\nError: Expected '}' before this.\n if (true) 1: 1 else nil + 1: 9,\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:33:\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-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_const_test\n\n\nFAILED: dart2js-chrome release_x64 language_2/control_flow_collections/map_set_ambiguity_test\nExpected: Pass\nActual: CompileTimeError\nUnexpected compile error.\n\n--- Command \"dart2js\" (took 467ms):\nset DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\\ReleaseX64\\dart-sdk\\bin\\dart2js.bat --generate-code-with-compile-time-errors --test-mode --packages=C:\\b\\s\\w\\ir\\.packages --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short642_ections_map_set_ambiguity_test/test.js C:\\b\\s\\w\\ir\\tests\\language_2\\control_flow_collections\\map_set_ambiguity_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --preview-dart-2\n\nexit code:\n1\n\nstdout:\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:28:36:\nError: Unexpected token '...'.\n expectMapOf<int, int>({if (true) ...map});\n ^^^\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:31:\nError: Unexpected token '...'.\n expectSetOf<int>({if (true) ...set});\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:31:\nError: Unexpected token '...'.\n expectSetOf<int>({if (true) ...iterable});\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:31:\nError: Unexpected token '...'.\n expectSetOf<int>({if (true) ...customSet});\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:36:\nError: Unexpected token '...'.\n expectMapOf<int, int>({if (true) ...customMap});\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:36:\nError: Unexpected token '...'.\n expectMapOf<int, int>({if (true) ...map else ...map});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:35:48:\nError: Unexpected token '...'.\n expectMapOf<int, int>({if (true) ...map else ...map});\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:44:\nError: Unexpected token '...'.\n expectMapOf<dynamic, dynamic>({if (true) ...map else ...dyn});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:37:56:\nError: Unexpected token '...'.\n expectMapOf<dynamic, dynamic>({if (true) ...map else ...dyn});\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:36:\nError: Unexpected token '...'.\n expectMapOf<int, int>({if (true) ...map else ...customMap});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:40:48:\nError: Unexpected token '...'.\n expectMapOf<int, int>({if (true) ...map else ...customMap});\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:31:\nError: Unexpected token '...'.\n expectSetOf<int>({if (true) ...set else ...set});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:42:43:\nError: Unexpected token '...'.\n expectSetOf<int>({if (true) ...set else ...set});\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:35:\nError: Unexpected token '...'.\n expectSetOf<dynamic>({if (true) ...set else ...dyn});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:43:47:\nError: Unexpected token '...'.\n expectSetOf<dynamic>({if (true) ...set else ...dyn});\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:31:\nError: Unexpected token '...'.\n expectSetOf<int>({if (true) ...set else ...iterable});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:44:43:\nError: Unexpected token '...'.\n expectSetOf<int>({if (true) ...set else ...iterable});\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:31:\nError: Unexpected token '...'.\n expectSetOf<int>({if (true) ...set else ...customSet});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:45:43:\nError: Unexpected token '...'.\n expectSetOf<int>({if (true) ...set else ...customSet});\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:35:\nError: Unexpected token '...'.\n expectSetOf<dynamic>({if (true) ...dyn else ...iterable});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:49:47:\nError: Unexpected token '...'.\n expectSetOf<dynamic>({if (true) ...dyn else ...iterable});\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:35:\nError: Unexpected token '...'.\n expectSetOf<dynamic>({if (true) ...dyn else ...customSet});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:50:47:\nError: Unexpected token '...'.\n expectSetOf<dynamic>({if (true) ...dyn else ...customSet});\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:44:\nError: Unexpected token '...'.\n expectMapOf<dynamic, dynamic>({if (true) ...dyn else ...customMap});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:51:56:\nError: Unexpected token '...'.\n expectMapOf<dynamic, dynamic>({if (true) ...dyn else ...customMap});\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:31:\nError: Unexpected token '...'.\n expectSetOf<int>({if (true) ...iterable else ...iterable});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:53:48:\nError: Unexpected token '...'.\n expectSetOf<int>({if (true) ...iterable else ...iterable});\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:31:\nError: Unexpected token '...'.\n expectSetOf<int>({if (true) ...iterable else ...customSet});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:54:48:\nError: Unexpected token '...'.\n expectSetOf<int>({if (true) ...iterable else ...customSet});\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:31:\nError: Unexpected token '...'.\n expectSetOf<int>({if (true) ...customSet else ...customSet});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:57:49:\nError: Unexpected token '...'.\n expectSetOf<int>({if (true) ...customSet 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:36:\nError: Unexpected token '...'.\n expectMapOf<int, int>({if (true) ...customMap else ...customMap});\n ^^^\ntests/language_2/control_flow_collections/map_set_ambiguity_test.dart:60:54:\nError: Unexpected token '...'.\n expectMapOf<int, int>({if (true) ...customMap else ...customMap});\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:41:\nError: Unexpected token '...'.\n expectMapOf<int, int>({for (; false;) ...map});\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:36:\nError: Unexpected token '...'.\n expectSetOf<int>({for (; false;) ...set});\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:36:\nError: Unexpected token '...'.\n expectSetOf<int>({for (; false;) ...iterable});\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:36:\nError: Unexpected token '...'.\n expectSetOf<int>({for (; false;) ...customSet});\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:41:\nError: Unexpected token '...'.\n expectMapOf<int, int>({for (; false;) ...customMap});\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:41:\nError: Unexpected token '...'.\n expectMapOf<int, int>({for (; false;) ...map, for (; false;) ...map});\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:64:\nError: Unexpected token '...'.\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:23:\nError: Unexpected token '...'.\n {for (; false;) ...map, for (; false;) ...dyn});\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:46:\nError: Unexpected token '...'.\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:23:\nError: Unexpected token '...'.\n {for (; false;) ...map, for (; false;) ...customMap});\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:46:\nError: Unexpected token '...'.\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:36:\nError: Unexpected token '...'.\n expectSetOf<int>({for (; false;) ...set, for (; false;) ...set});\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:59:\nError: Unexpected token '...'.\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:40:\nError: Unexpected token '...'.\n expectSetOf<dynamic>({for (; false;) ...set, for (; false;) ...dyn});\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:63:\nError: Unexpected token '...'.\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:36:\nError: Unexpected token '...'.\n expectSetOf<int>({for (; false;) ...set, for (; false;) ...iterable});\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:59:\nError: Unexpected token '...'.\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:36:\nError: Unexpected token '...'.\n expectSetOf<int>({for (; false;) ...set, for (; false;) ...customSet});\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:59:\nError: Unexpected token '...'.\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:23:\nError: Unexpected token '...'.\n {for (; false;) ...dyn, for (; false;) ...iterable});\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:46:\nError: Unexpected token '...'.\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:23:\nError: Unexpected token '...'.\n {for (; false;) ...dyn, for (; false;) ...customSet});\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:46:\nError: Unexpected token '...'.\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:23:\nError: Unexpected token '...'.\n {for (; false;) ...dyn, for (; false;) ...customMap});\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:46:\nError: Unexpected token '...'.\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:23:\nError: Unexpected token '...'.\n {for (; false;) ...iterable, for (; false;) ...iterable});\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:51:\nError: Unexpected token '...'.\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:23:\nError: Unexpected token '...'.\n {for (; false;) ...iterable, for (; false;) ...customSet});\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:51:\nError: Unexpected token '...'.\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:23:\nError: Unexpected token '...'.\n {for (; false;) ...customSet, 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:52:\nError: Unexpected token '...'.\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:23:\nError: Unexpected token '...'.\n {for (; false;) ...customMap, for (; false;) ...customMap});\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:52:\nError: Unexpected token '...'.\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:34:\nError: Unexpected token '...'.\n Map<int, int> map = {if (true) ...untypedMap};\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:29:\nError: Unexpected token '...'.\n Set<int> set = {if (true) ...untypedIterable};\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:39:\nError: Unexpected token '...'.\n Iterable<int> iterable = {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:25:\nError: Unexpected token '...'.\n map = {for (; false;) ...untypedMap};\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:25:\nError: Unexpected token '...'.\n set = {for (; false;) ...untypedIterable};\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:30:\nError: Unexpected token '...'.\n iterable = {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-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/map_set_ambiguity_test\n\n\nFAILED: dart2js-chrome release_x64 language_2/spread_collections/syntax_test\nExpected: Pass\nActual: CompileTimeError\nUnexpected compile error.\n\n--- Command \"dart2js\" (took 414ms):\nset DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\\ReleaseX64\\dart-sdk\\bin\\dart2js.bat --generate-code-with-compile-time-errors --test-mode --packages=C:\\b\\s\\w\\ir\\.packages --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/tests_language_2_spread_collections_syntax_test/test.js C:\\b\\s\\w\\ir\\tests\\language_2\\spread_collections\\syntax_test.dart --enable-experiment=set-literals,spread-collections --preview-dart-2\n\nexit code:\n1\n\nstdout:\ntests/language_2/spread_collections/syntax_test.dart:12:30:\nError: Unexpected token '...'.\n Expect.listEquals([1, 2], [...[1, 2],]);\n ^^^\ntests/language_2/spread_collections/syntax_test.dart:13:35:\nError: Unexpected token '...'.\n Expect.mapEquals({1: 1, 2: 2}, {...{1: 1, 2: 2},});\n ^^^\ntests/language_2/spread_collections/syntax_test.dart:14:29:\nError: Unexpected token '...'.\n Expect.setEquals({1, 2}, {...{1, 2},});\n ^^^\ntests/language_2/spread_collections/syntax_test.dart:17:36:\nError: Unexpected token '...'.\n Expect.listEquals([1, 2, 3], [1, ...true ? [2] : [], 3]);\n ^^^\ntests/language_2/spread_collections/syntax_test.dart:18:33:\nError: Unexpected token '...?'.\n Expect.listEquals([1, 3], [1, ...?true ? null : [], 3]);\n ^^^^\ntests/language_2/spread_collections/syntax_test.dart:21:36:\nError: Unexpected token '...'.\n Expect.listEquals([1, 2, 3], [1, ...a = [2], 3]);\n ^^^\ntests/language_2/spread_collections/syntax_test.dart:22:33:\nError: Unexpected token '...?'.\n Expect.listEquals([1, 3], [1, ...?a = null, 3]);\n ^^^^\ntests/language_2/spread_collections/syntax_test.dart:25:39:\nError: Unexpected token '...'.\n Expect.listEquals([1, 2, 3, 4], [1, ...b..add(3), 4]);\n ^^^\ntests/language_2/spread_collections/syntax_test.dart:27:39:\nError: Unexpected token '...?'.\n Expect.listEquals([1, 2, 3, 4], [1, ...?b..add(3), 4]);\n ^^^^\nError: Compilation failed.\n\n--- Re-run this test:\npython tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/syntax_test\n\n\nFAILED: dart2js-chrome release_x64 lib_2/html/custom/document_register_type_extensions_test/construction/construction\nExpected: Slow\nActual: Pass\n\n--- Command \"dart2js\" (took 09.000141s):\nset DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\\ReleaseX64\\dart-sdk\\bin\\dart2js.bat --generate-code-with-compile-time-errors --test-mode --packages=C:\\b\\s\\w\\ir\\.packages --out=C:/b/s/w/ir/out/ReleaseX64/generated_tests/dart2js-chrome-sdk/short2640__register_type_extensions_test/document_register_type_extensions_test.js C:\\b\\s\\w\\ir\\tests\\lib_2\\html\\custom\\document_register_type_extensions_test.dart --preview-dart-2\n\nexit code:\n0\n\nstdout:\nCompiled 7,710,176 characters Dart to 693,618 characters JavaScript in 9.12 seconds\nDart file (C:\\b\\s\\w\\ir\\tests\\lib_2\\html\\custom\\document_register_type_extensions_test.dart) compiled to JavaScript: out/ReleaseX64/generated_tests/dart2js-chrome-sdk/short2640__register_type_extensions_test/document_register_type_extensions_test.js\n\n--- Command \"chrome\" (took 451ms):\nC:\\b\\s\\w\\ir\\tools\\sdks\\dart-sdk\\bin\\dart.exe tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:52512/root_build/generated_tests/dart2js-chrome-sdk/short2640__register_type_extensions_test/test.html?crossOriginPort=52513&group=construction\n\nEvents:\n- debug \"test_controller.js started\"\n- debug \"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)\"\n- print \"dart-calling-main\"\n- print \"dart-main-done\"\n- {\n type: message_received\n value: dart-calling-main\n timestamp: 0.296\n}\n\n- {\n type: message_received\n value: unittest-suite-wait-for-done\n timestamp: 0.297\n}\n\n- {\n type: message_received\n value: dart-main-done\n timestamp: 0.297\n}\n\n- {\n type: message_received\n value: unittest-suite-done\n timestamp: 0.399\n}\n\n- debug \"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)\"\n- dom\n <head><style>body {transition: opacity ease-in 0.2s; } \n body[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n </style>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title> document_register_type_extensions_test </title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n <script src=\"/packages/web_components/webcomponents.js\"></script>\n <script src=\"/packages/web_components/dart_support.js\"></script>\n </head>\n <body><table class=\"unittest-table\"><tbody><tr><td colspan=\"3\" class=\"unittest-pass\">PASS</td></tr> <tr>\n <td>4</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=construction constructors custom tag\">\n construction constructors custom tag\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr>\n <td>5</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=construction constructors type extension\">\n construction constructors type extension\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr>\n <td>6</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=construction constructors custom tag deriving from custom tag\">\n construction constructors custom tag deriving from custom tag\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr>\n <td>7</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=construction constructors type extension deriving from custom tag\">\n construction constructors type extension deriving from custom tag\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr>\n <td>8</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=construction single-parameter createElement custom tag\">\n construction single-parameter createElement custom tag\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr>\n <td>9</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=construction single-parameter createElement does not upgrade type extension\">\n construction single-parameter createElement does not upgrade type extension\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr>\n <td>10</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=construction single-parameter createElement custom tag deriving from custom tag\">\n construction single-parameter createElement custom tag deriving from custom tag\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr>\n <td>11</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=construction single-parameter createElement type extension deriving from custom tag\">\n construction single-parameter createElement type extension deriving from custom tag\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr>\n <td>12</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=construction createElement with type extension does not upgrade extension of custom tag\">\n construction createElement with type extension does not upgrade extension of custom tag\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr>\n <td>13</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=construction createElement with type extension upgrades valid extension\">\n construction createElement with type extension upgrades valid extension\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr>\n <td>14</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=construction createElement with type extension type extension of incorrect tag\">\n construction createElement with type extension type extension of incorrect tag\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr>\n <td>15</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=construction createElement with type extension incorrect extension of custom tag\">\n construction createElement with type extension incorrect extension of custom tag\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr>\n <td>16</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=construction createElement with type extension incorrect extension of type extension\">\n construction createElement with type extension incorrect extension of type extension\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr>\n <td>17</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=construction createElement with type extension null type extension\">\n construction createElement with type extension null type extension\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr>\n <td>18</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=construction createElement with type extension empty type extension\">\n construction createElement with type extension empty type extension\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr><td colspan=\"3\" class=\"unittest-pass\">\n All 15 tests passed\n </td></tr></tbody></table></body>\n\nexit code:\n0\n\n--- To debug locally, run:\nC:\\b\\s\\w\\ir\\tools\\sdks\\dart-sdk\\bin\\dart.exe C:\\b\\s\\w\\ir\\tools\\testing\\dart\\http_server.dart -p 52512 -c 52513 --network 127.0.0.1 --build-directory=C:\\b\\s\\w\\ir\\out\\ReleaseX64\\ --runtime=chrome --packages=C:\\b\\s\\w\\ir\\.packages\n\n--- Re-run this test:\npython tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration lib_2/html/custom/document_register_type_extensions_test/construction/construction\n\n\nFAILED: dart2js-chrome release_x64 lib_2/html/custom/document_register_type_extensions_test/registration/registration\nExpected: Slow\nActual: Pass\n\n--- Command \"dart2js\" (took 09.000141s):\nset DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\\ReleaseX64\\dart-sdk\\bin\\dart2js.bat --generate-code-with-compile-time-errors --test-mode --packages=C:\\b\\s\\w\\ir\\.packages --out=C:/b/s/w/ir/out/ReleaseX64/generated_tests/dart2js-chrome-sdk/short2640__register_type_extensions_test/document_register_type_extensions_test.js C:\\b\\s\\w\\ir\\tests\\lib_2\\html\\custom\\document_register_type_extensions_test.dart --preview-dart-2\n\nexit code:\n0\n\nstdout:\nCompiled 7,710,176 characters Dart to 693,618 characters JavaScript in 9.12 seconds\nDart file (C:\\b\\s\\w\\ir\\tests\\lib_2\\html\\custom\\document_register_type_extensions_test.dart) compiled to JavaScript: out/ReleaseX64/generated_tests/dart2js-chrome-sdk/short2640__register_type_extensions_test/document_register_type_extensions_test.js\n\n--- Command \"chrome\" (took 436ms):\nC:\\b\\s\\w\\ir\\tools\\sdks\\dart-sdk\\bin\\dart.exe tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:52512/root_build/generated_tests/dart2js-chrome-sdk/short2640__register_type_extensions_test/test.html?crossOriginPort=52513&group=registration\n\nEvents:\n- debug \"test_controller.js started\"\n- debug \"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)\"\n- print \"dart-calling-main\"\n- print \"dart-main-done\"\n- {\n type: message_received\n value: dart-calling-main\n timestamp: 0.242\n}\n\n- {\n type: message_received\n value: unittest-suite-wait-for-done\n timestamp: 0.243\n}\n\n- {\n type: message_received\n value: dart-main-done\n timestamp: 0.244\n}\n\n- {\n type: message_received\n value: unittest-suite-done\n timestamp: 0.334\n}\n\n- debug \"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)\"\n- dom\n <head><style>body {transition: opacity ease-in 0.2s; } \n body[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n </style>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title> document_register_type_extensions_test </title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n <script src=\"/packages/web_components/webcomponents.js\"></script>\n <script src=\"/packages/web_components/dart_support.js\"></script>\n </head>\n <body><table class=\"unittest-table\"><tbody><tr><td colspan=\"3\" class=\"unittest-pass\">PASS</td></tr> <tr>\n <td>1</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=registration cannot register twice\">\n registration cannot register twice\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr>\n <td>2</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=registration cannot register for non-matching tag\">\n registration cannot register for non-matching tag\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr>\n <td>3</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=registration cannot register type extension for custom tag\">\n registration cannot register type extension for custom tag\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr><td colspan=\"3\" class=\"unittest-pass\">\n All 3 tests passed\n </td></tr></tbody></table></body>\n\nexit code:\n0\n\n--- To debug locally, run:\nC:\\b\\s\\w\\ir\\tools\\sdks\\dart-sdk\\bin\\dart.exe C:\\b\\s\\w\\ir\\tools\\testing\\dart\\http_server.dart -p 52512 -c 52513 --network 127.0.0.1 --build-directory=C:\\b\\s\\w\\ir\\out\\ReleaseX64\\ --runtime=chrome --packages=C:\\b\\s\\w\\ir\\.packages\n\n--- Re-run this test:\npython tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration lib_2/html/custom/document_register_type_extensions_test/registration/registration\n\n\nFAILED: dart2js-chrome release_x64 lib_2/html/custom/entered_left_view_test/shadow_dom/shadow_dom\nExpected: Slow\nActual: Pass\n\n--- Command \"dart2js\" (took 07.000387s):\nset DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\\ReleaseX64\\dart-sdk\\bin\\dart2js.bat --generate-code-with-compile-time-errors --test-mode --packages=C:\\b\\s\\w\\ir\\.packages --out=C:/b/s/w/ir/out/ReleaseX64/generated_tests/dart2js-chrome-sdk/tests_lib_2_html_custom_entered_left_view_test/entered_left_view_test.js C:\\b\\s\\w\\ir\\tests\\lib_2\\html\\custom\\entered_left_view_test.dart --preview-dart-2\n\nexit code:\n0\n\nstdout:\nCompiled 7,708,490 characters Dart to 662,446 characters JavaScript in 7.37 seconds\nDart file (C:\\b\\s\\w\\ir\\tests\\lib_2\\html\\custom\\entered_left_view_test.dart) compiled to JavaScript: out/ReleaseX64/generated_tests/dart2js-chrome-sdk/tests_lib_2_html_custom_entered_left_view_test/entered_left_view_test.js\n\n--- Command \"chrome\" (took 384ms):\nC:\\b\\s\\w\\ir\\tools\\sdks\\dart-sdk\\bin\\dart.exe tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:52512/root_build/generated_tests/dart2js-chrome-sdk/tests_lib_2_html_custom_entered_left_view_test/test.html?crossOriginPort=52513&group=shadow_dom\n\nEvents:\n- debug \"test_controller.js started\"\n- debug \"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)\"\n- print \"dart-calling-main\"\n- print \"dart-main-done\"\n- {\n type: message_received\n value: dart-calling-main\n timestamp: 0.175\n}\n\n- {\n type: message_received\n value: unittest-suite-wait-for-done\n timestamp: 0.176\n}\n\n- {\n type: message_received\n value: dart-main-done\n timestamp: 0.176\n}\n\n- {\n type: message_received\n value: unittest-suite-done\n timestamp: 0.27\n}\n\n- debug \"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)\"\n- dom\n <head><style>body {transition: opacity ease-in 0.2s; } \n body[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n </style>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title> entered_left_view_test </title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n <script src=\"/packages/web_components/webcomponents.js\"></script>\n <script src=\"/packages/web_components/dart_support.js\"></script>\n </head>\n <body><table class=\"unittest-table\"><tbody><tr><td colspan=\"3\" class=\"unittest-pass\">PASS</td></tr> <tr>\n <td>19</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=shadow_dom Created in Shadow DOM that is not in a document\">\n shadow_dom Created in Shadow DOM that is not in a document\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr>\n <td>20</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=shadow_dom Leaves Shadow DOM that is not in a document\">\n shadow_dom Leaves Shadow DOM that is not in a document\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr>\n <td>21</td>\n <td class=\"unittest-pass\">\n PASS\n </td>\n <td>\n <p>Expectation: \n <a href=\"#testFilter=shadow_dom Enters a document with a view as a constituent of Shadow DOM\">\n shadow_dom Enters a document with a view as a constituent of Shadow DOM\n </a>.\n </p>\n <pre></pre>\n </td>\n </tr> <tr><td colspan=\"3\" class=\"unittest-pass\">\n All 3 tests passed\n </td></tr></tbody></table></body>\n\nexit code:\n0\n\n--- To debug locally, run:\nC:\\b\\s\\w\\ir\\tools\\sdks\\dart-sdk\\bin\\dart.exe C:\\b\\s\\w\\ir\\tools\\testing\\dart\\http_server.dart -p 52512 -c 52513 --network 127.0.0.1 --build-directory=C:\\b\\s\\w\\ir\\out\\ReleaseX64\\ --runtime=chrome --packages=C:\\b\\s\\w\\ir\\.packages\n\n--- Re-run this test:\npython tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration lib_2/html/custom/entered_left_view_test/shadow_dom/shadow_dom\n\n\nFAILED: dart2js-chrome release_x64 lib_2/math/random_big_test\nExpected: Pass\nActual: RuntimeError\n\n--- Command \"dart2js\" (took 01.000783s):\nset DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\\ReleaseX64\\dart-sdk\\bin\\dart2js.bat --generate-code-with-compile-time-errors --test-mode --packages=C:\\b\\s\\w\\ir\\.packages --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/tests_lib_2_math_random_big_test/test.js C:\\b\\s\\w\\ir\\tests\\lib_2\\math\\random_big_test.dart --preview-dart-2\n\nexit code:\n0\n\nstdout:\nCompiled 7,398,445 characters Dart to 50,193 characters JavaScript in 1.78 seconds\nDart file (C:\\b\\s\\w\\ir\\tests\\lib_2\\math\\random_big_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-sdk/tests_lib_2_math_random_big_test/test.js\n\n--- Command \"chrome\" (took 65ms):\nC:\\b\\s\\w\\ir\\tools\\sdks\\dart-sdk\\bin\\dart.exe tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:52512/root_build/generated_tests/dart2js-chrome-sdk/tests_lib_2_math_random_big_test/test.html?crossOriginPort=52513\n\nRuntime error:\nExpect.isFalse(true) fails.\nExpect.isFalse(true) fails.\n at Object.wrapException (http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_math_random_big_test/test.js:313:17)\n at Object.Expect__fail (http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_math_random_big_test/test.js:972:15)\n at Object.Expect_isFalse (http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_math_random_big_test/test.js:969:9)\n at main (http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_math_random_big_test/test.js:986:11)\n at dartMainRunner (http://127.0.0.1:52512/root_dart/tools/testing/dart/test_controller.js:292:5)\n at http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_math_random_big_test/test.js:1354:7\n at http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_math_random_big_test/test.js:1340:7\n at dartProgram (http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_math_random_big_test/test.js:1351:5)\n at http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_math_random_big_test/test.js:1358:3\n\nexit code:\n0\n\n--- To debug locally, run:\nC:\\b\\s\\w\\ir\\tools\\sdks\\dart-sdk\\bin\\dart.exe C:\\b\\s\\w\\ir\\tools\\testing\\dart\\http_server.dart -p 52512 -c 52513 --network 127.0.0.1 --build-directory=C:\\b\\s\\w\\ir\\out\\ReleaseX64\\ --runtime=chrome --packages=C:\\b\\s\\w\\ir\\.packages\n\n--- Re-run this test:\npython tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration lib_2/math/random_big_test\n\n\nFAILED: dart2js-chrome release_x64 lib_2/typed_data/typed_data_hierarchy_int64_test\nExpected: Pass\nActual: RuntimeError\n\n--- Command \"dart2js\" (took 01.000332s):\nset DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\\ReleaseX64\\dart-sdk\\bin\\dart2js.bat --generate-code-with-compile-time-errors --test-mode --packages=C:\\b\\s\\w\\ir\\.packages --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js C:\\b\\s\\w\\ir\\tests\\lib_2\\typed_data\\typed_data_hierarchy_int64_test.dart --preview-dart-2\n\nexit code:\n0\n\nstdout:\nCompiled 7,398,749 characters Dart to 56,915 characters JavaScript in 1.32 seconds\nDart file (C:\\b\\s\\w\\ir\\tests\\lib_2\\typed_data\\typed_data_hierarchy_int64_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js\n\n--- Command \"chrome\" (took 56ms):\nC:\\b\\s\\w\\ir\\tools\\sdks\\dart-sdk\\bin\\dart.exe tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:52512/root_build/generated_tests/dart2js-chrome-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.html?crossOriginPort=52513\n\nRuntime error:\nUnsupported operation: Int64List not supported by dart2js.\nUnsupported operation: Int64List not supported by dart2js.\n at Object.wrapException (http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:316:17)\n at Object.Int64List_Int64List (http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:1205:15)\n at main (http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:1225:19)\n at dartMainRunner (http://127.0.0.1:52512/root_dart/tools/testing/dart/test_controller.js:292:5)\n at http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:1528:7\n at http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:1514:7\n at dartProgram (http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:1525:5)\n at http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_typed_data_typed_data_hierarchy_int64_test/test.js:1532:3\n\nexit code:\n0\n\n--- To debug locally, run:\nC:\\b\\s\\w\\ir\\tools\\sdks\\dart-sdk\\bin\\dart.exe C:\\b\\s\\w\\ir\\tools\\testing\\dart\\http_server.dart -p 52512 -c 52513 --network 127.0.0.1 --build-directory=C:\\b\\s\\w\\ir\\out\\ReleaseX64\\ --runtime=chrome --packages=C:\\b\\s\\w\\ir\\.packages\n\n--- Re-run this test:\npython tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration lib_2/typed_data/typed_data_hierarchy_int64_test\n\n\nFAILED: dart2js-chrome release_x64 lib_2/typed_data/unmodifiable_typed_data_test\nExpected: Pass\nActual: RuntimeError\n\n--- Command \"dart2js\" (took 02.000010s):\nset DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\\ReleaseX64\\dart-sdk\\bin\\dart2js.bat --generate-code-with-compile-time-errors --test-mode --packages=C:\\b\\s\\w\\ir\\.packages --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js C:\\b\\s\\w\\ir\\tests\\lib_2\\typed_data\\unmodifiable_typed_data_test.dart --preview-dart-2\n\nexit code:\n0\n\nstdout:\nCompiled 7,403,627 characters Dart to 120,355 characters JavaScript in 2.00 seconds\nDart file (C:\\b\\s\\w\\ir\\tests\\lib_2\\typed_data\\unmodifiable_typed_data_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js\n\n--- Command \"chrome\" (took 48ms):\nC:\\b\\s\\w\\ir\\tools\\sdks\\dart-sdk\\bin\\dart.exe tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:52512/root_build/generated_tests/dart2js-chrome-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.html?crossOriginPort=52513\n\nRuntime error:\nUnsupported operation: Int64List not supported by dart2js.\nUnsupported operation: Int64List not supported by dart2js.\n at Object.wrapException (http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:335:17)\n at Object.Int64List_Int64List$fromList (http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:1744:15)\n at main (http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:1875:9)\n at dartMainRunner (http://127.0.0.1:52512/root_dart/tools/testing/dart/test_controller.js:292:5)\n at http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:3096:7\n at http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:3082:7\n at dartProgram (http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:3093:5)\n at http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:3100:3\n\nexit code:\n0\n\n--- To debug locally, run:\nC:\\b\\s\\w\\ir\\tools\\sdks\\dart-sdk\\bin\\dart.exe C:\\b\\s\\w\\ir\\tools\\testing\\dart\\http_server.dart -p 52512 -c 52513 --network 127.0.0.1 --build-directory=C:\\b\\s\\w\\ir\\out\\ReleaseX64\\ --runtime=chrome --packages=C:\\b\\s\\w\\ir\\.packages\n\n--- Re-run this test:\npython tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration lib_2/typed_data/unmodifiable_typed_data_test\n\n1412 out of 1412 completed\nTests running for 5 minutes\n\nDouble reporting tests\n http://127.0.0.1:52512/root_build/generated_tests/dart2js-chrome-sdk/multitest_language_2_regress_24935_test_01/test.html?crossOriginPort=52513\n http://127.0.0.1:52512/root_build/generated_tests/dart2js-chrome-sdk/tests_lib_2_html_fileapi_directory_test/test.html?crossOriginPort=52513\n\n--- Total time: 07:29 ---\n0:00:09.678176 - chrome - dart2js-chrome release_x64/lib_2/html/native_gc_test\n0:00:09.141650 - dart2js - dart2js-chrome release_x64/lib_2/html/custom/document_register_type_extensions_test/functional/functional, dart2js-chrome release_x64/lib_2/html/custom/document_register_type_extensions_test/parsing/parsing, dart2js-chrome release_x64/lib_2/html/custom/document_register_type_extensions_test/namespaces/namespaces, dart2js-chrome release_x64/lib_2/html/custom/document_register_type_extensions_test/createElement with type extension/createElement with type extension, dart2js-chrome release_x64/lib_2/html/custom/document_register_type_extensions_test/single-parameter createElement/single-parameter createElement, dart2js-chrome release_x64/lib_2/html/custom/document_register_type_extensions_test/constructors/constructors, dart2js-chrome release_x64/lib_2/html/custom/document_register_type_extensions_test/construction/construction, dart2js-chrome release_x64/lib_2/html/custom/document_register_type_extensions_test/registration/registration\n0:00:08.933842 - dart2js - dart2js-chrome release_x64/lib_2/html/canvasrenderingcontext2d_test/fillText/fillText, dart2js-chrome release_x64/lib_2/html/canvasrenderingcontext2d_test/drawImage_canvas_element/drawImage_canvas_element, dart2js-chrome release_x64/lib_2/html/canvasrenderingcontext2d_test/drawImage_video_element_dataUrl/drawImage_video_element_dataUrl, dart2js-chrome release_x64/lib_2/html/canvasrenderingcontext2d_test/drawImage_video_element/drawImage_video_element, dart2js-chrome release_x64/lib_2/html/canvasrenderingcontext2d_test/drawImage_image_element/drawImage_image_element, dart2js-chrome release_x64/lib_2/html/canvasrenderingcontext2d_test/arc/arc, dart2js-chrome release_x64/lib_2/html/canvasrenderingcontext2d_test/pixel_manipulation/pixel_manipulation\n0:00:08.657183 - dart2js - dart2js-chrome release_x64/lib_2/html/indexeddb_3_test\n0:00:08.389632 - dart2js - dart2js-chrome release_x64/lib_2/html/custom_element_name_clash_test/test/test\n0:00:08.190675 - dart2js - dart2js-chrome release_x64/lib_2/html/js_array_test\n0:00:08.144580 - dart2js - dart2js-chrome release_x64/lib_2/html/js_dispatch_property_test\n0:00:07.851303 - dart2js - dart2js-chrome release_x64/lib_2/html/fileapi_directory_test\n0:00:07.394465 - dart2js - dart2js-chrome release_x64/lib_2/html/indexeddb_1_test/typed/typed, dart2js-chrome release_x64/lib_2/html/indexeddb_1_test/dynamic/dynamic, dart2js-chrome release_x64/lib_2/html/indexeddb_1_test/supported/supported, dart2js-chrome release_x64/lib_2/html/indexeddb_1_test/functional/functional\n0:00:07.387677 - dart2js - dart2js-chrome release_x64/lib_2/html/custom/entered_left_view_test/disconnected_subtree/disconnected_subtree, dart2js-chrome release_x64/lib_2/html/custom/entered_left_view_test/viewless_document/viewless_document, dart2js-chrome release_x64/lib_2/html/custom/entered_left_view_test/shadow_dom/shadow_dom, dart2js-chrome release_x64/lib_2/html/custom/entered_left_view_test/standard_events_old_callback_names/standard_events_old_callback_names, dart2js-chrome release_x64/lib_2/html/custom/entered_left_view_test/standard_events/standard_events\n0:00:07.342795 - dart2js - dart2js-chrome release_x64/lib_2/html/js_dart_to_string_test\n0:00:07.310444 - dart2js - dart2js-chrome release_x64/lib_2/html/interactive_media_test\n0:00:06.578111 - dart2js - dart2js-chrome release_x64/corelib_2/apply3_test\n0:00:06.484358 - dart2js - dart2js-chrome release_x64/corelib_2/bool_operator_test\n0:00:06.400630 - dart2js - dart2js-chrome release_x64/lib_2/html/custom/attribute_changed_callback_test\n0:00:06.390637 - dart2js - dart2js-chrome release_x64/vm/dart/regress_35887_test\n0:00:06.362791 - chrome - dart2js-chrome release_x64/corelib_2/uri_test\n0:00:05.948173 - dart2js - dart2js-chrome release_x64/vm/dart/slow_path_shared_stub_test\n0:00:05.948173 - dart2js - dart2js-chrome release_x64/vm/dart/regress30853_test\n0:00:05.640632 - dart2js - dart2js-chrome release_x64/vm/dart/single_target_and_method_extractors_test\n", "outputs_ref": { "isolated": "35a06b454da7095267360096602b9b8bc6b90bf4", "isolatedserver": "https://isolateserver.appspot.com", "namespace": "default-gzip" }, "run_id": "430945fe61cf4d11", "server_versions": [ "4105-f0295a3" ], "started_ts": "2019-02-15T09:40:53.798796", "state": "COMPLETED", "tags": [ "build_is_experimental:false", "buildername:dart2js-strong-win-x64-chrome-dev", "buildnumber:35", "cpu:x86-64", "data:5c841dbd1373e339308426523a65e0bd2c3a72aa", "master:client.dart", "name:dart2js", "os:Windows", "pool:dart.tests", "priority:25", "service_account:none", "slavename:win10-dart-fedce810-us-central1-c-sgcm", "spec_name:dart.ci.sandbox:dart2js-strong-win-x64-chrome-dev", "stepname:dart2js tests_shard_6 on Windows", "swarming.pool.template:none", "swarming.pool.version:8cb8c81e9bbe232762fa961239d44a5b7d2572c0", "user:None" ], "task_id": "430945fe61cf4d10", "try_number": "1" } ] }