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

'C:\b\s\w\ir\cipd_bin_packages\python.exe' -u 'C:\b\s\w\ir\kitchen-checkout\build\scripts\tools\runit.py' --show-path --with-third-party-lib -- python 'C:\b\s\w\ir\kitchen-checkout\build\scripts/slave\recipe_modules\swarming\resources\collect_task.py' --verbose -o 'c:\b\s\w\ir\tmp\t\tmpnzt6yl.json' --task-output-dir 'c:\b\s\w\ir\tmp\t\tmpeoyv2o' --merge-script 'C:\b\s\w\ir\kitchen-checkout\build\scripts/slave\recipe_modules\swarming\resources\noop_merge.py' --merge-script-stdout-file 'c:\b\s\w\ir\tmp\t\tmpqzwqdvmerge_script_log' --merge-additional-args '[]' --summary-json-file 'c:\b\s\w\ir\tmp\t\tmpztsnsr.json' -- swarming collect -server https://chromium-swarm.appspot.com -worker 50 -task-summary-python -task-output-stdout all -verbose -requests-json 'c:\b\s\w\ir\tmp\t\tmp6jizvj.json' in dir C:\b\s\w\ir\kitchen-workdir: allow_subannotations: False base_name: 'dart2js tests_shard_6 on Windows' cmd: ['C:\\b\\s\\w\\ir\\cipd_bin_packages\\python.exe', '-u', 'C:\\b\\s\\w\\ir\\kitchen-checkout\\build\\scripts\\tools\\runit.py', '--show-path', '--with-third-party-lib', '--', 'python', 'C:\\b\\s\\w\\ir\\kitchen-checkout\\build\\scripts/slave\\recipe_modules\\swarming\\resources\\collect_task.py', '--verbose', '-o', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpnzt6yl.json', '--task-output-dir', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpeoyv2o', '--merge-script', 'C:\\b\\s\\w\\ir\\kitchen-checkout\\build\\scripts/slave\\recipe_modules\\swarming\\resources\\noop_merge.py', '--merge-script-stdout-file', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpqzwqdvmerge_script_log', '--merge-additional-args', '[]', '--summary-json-file', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpztsnsr.json', '--', 'swarming', 'collect', '-server', 'https://chromium-swarm.appspot.com', '-worker', '50', '-task-summary-python', '-task-output-stdout', 'all', '-verbose', '-requests-json', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmp6jizvj.json'] env: {} env_prefixes: {'PATH': 'C:\\b\\s\\w\\ir\\cache\\swarming_client'} env_suffixes: {} infra_step: False name: 'dart2js tests_shard_6 on Windows' nest_level: 0 ok_ret: frozenset([0]) step_test_data: <lambda>(...) trigger_specs: () full environment: ALLUSERSPROFILE: C:\ProgramData APPDATA: C:\Users\chrome-bot\AppData\Roaming BOTO_CONFIG: C:\b\s\w\ir\tmp\gsutil_task\.boto BUILDBUCKET_EXPERIMENTAL: FALSE CIPD_CACHE_DIR: C:\b\s\cipd_cache\cache CIPD_EXE_SHIM: "C:\b\s\w\ir\cipd_bin_packages\vpython.exe" CIPD_PROTOCOL: v2 COMMONPROGRAMFILES: C:\Program Files\Common Files COMMONPROGRAMFILES(X86): C:\Program Files (x86)\Common Files COMMONPROGRAMW6432: C:\Program Files\Common Files COMPUTERNAME: WIN10-DART-FEDC COMSPEC: C:\Windows\system32\cmd.exe DOCKER_CONFIG: C:\b\s\w\ir\tmp\docker_cfg_task DOCKER_TMPDIR: C:\b\s\w\ir\tmp\docker_tmp_task FPS_BROWSER_APP_PROFILE_STRING: Internet Explorer FPS_BROWSER_USER_PROFILE_STRING: Default GIT_CONFIG_NOSYSTEM: 1 GIT_TERMINAL_PROMPT: 0 HOMEDRIVE: C: HOMEPATH: \Users\chrome-bot INFRA_GIT_WRAPPER_HOME: C:\b\s\w\ir\tmp\git_home_task LC_ALL: English_United States.UTF-8 LC_COLLATE: English_United States.UTF-8 LC_CTYPE: English_United States.UTF-8 LC_MONETARY: English_United States.UTF-8 LC_NUMERIC: English_United States.UTF-8 LC_TIME: English_United States.UTF-8 LOCALAPPDATA: C:\Users\chrome-bot\AppData\Local LOGDOG_COORDINATOR_HOST: logs.chromium.org LOGDOG_STREAM_PREFIX: buildbucket/cr-buildbucket.appspot.com/8921468673096622304 LOGDOG_STREAM_PROJECT: dart LOGDOG_STREAM_SERVER_PATH: net.pipe:LUCILogDogKitchen_4180 LOGONSERVER: \\WIN10-DART-FEDC LUCI_CONTEXT: C:\b\s\w\it5dlwbq\luci_context.871783282 MAC_CHROMIUM_TMPDIR: C:\b\s\w\ir\tmp\t NO_GCE_CHECK: False NUMBER_OF_PROCESSORS: 8 ONEDRIVE: C:\Users\chrome-bot\OneDrive OS: Windows_NT PATH: C:\b\s\w\ir\cache\swarming_client;C:\b\s\w\ir\cipd_bin_packages;C:\b\s\w\ir\cipd_bin_packages\bin;C:\b\s\cipd_cache\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Puppet Labs\Puppet\bin PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE: AMD64 PROCESSOR_IDENTIFIER: Intel64 Family 6 Model 63 Stepping 0, GenuineIntel PROCESSOR_LEVEL: 6 PROCESSOR_REVISION: 3f00 PROGRAMDATA: C:\ProgramData PROGRAMFILES: C:\Program Files PROGRAMFILES(X86): C:\Program Files (x86) PROGRAMW6432: C:\Program Files PROMPT: $P$G PSMODULEPATH: C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules PUBLIC: C:\Users\Public PYTHONIOENCODING: UTF-8 PYTHONUNBUFFERED: 1 SESSIONNAME: Console SWARMING_BOT_ID: win10-dart-fedce810-us-central1-c-sgcm SWARMING_EXTERNAL_BOT_SETUP: 1 SWARMING_HEADLESS: 1 SWARMING_SERVER: https://chromium-swarm.appspot.com SWARMING_TASK_ID: 4309382afbcffc11 SYSTEMDRIVE: C: SYSTEMROOT: C:\Windows TEMP: C:\b\s\w\ir\tmp\t TEMPDIR: C:\b\s\w\ir\tmp\t TMP: C:\b\s\w\ir\tmp\t TMPDIR: C:\b\s\w\ir\tmp\t USERDOMAIN: WIN10-DART-FEDC USERDOMAIN_ROAMINGPROFILE: WIN10-DART-FEDC USERNAME: chrome-bot USERPROFILE: C:\Users\chrome-bot VPYTHON_VIRTUALENV_ROOT: C:\b\s\w\ir\cache\vpython WINDIR: C:\Windows Set PYTHONPATH: C:\b\s\w\ir\kitchen-checkout\build\scripts;C:\b\s\w\ir\kitchen-checkout\build\site_config;C:\b\s\w\ir\kitchen-checkout\build\third_party;C:\b\s\w\ir\kitchen-checkout\build\third_party\buildbot_8_4p1;C:\b\s\w\ir\kitchen-checkout\build\third_party\buildbot_slave_8_4;C:\b\s\w\ir\kitchen-checkout\build\third_party\coverage-3.7.1;C:\b\s\w\ir\kitchen-checkout\build\third_party\decorator_3_3_1;C:\b\s\w\ir\kitchen-checkout\build\third_party\google_api_python_client;C:\b\s\w\ir\kitchen-checkout\build\third_party\httplib2\python2;C:\b\s\w\ir\kitchen-checkout\build\third_party\infra_libs;C:\b\s\w\ir\kitchen-checkout\build\third_party\jinja2;C:\b\s\w\ir\kitchen-checkout\build\third_party\markupsafe;C:\b\s\w\ir\kitchen-checkout\build\third_party\oauth2client;C:\b\s\w\ir\kitchen-checkout\build\third_party\pyasn1;C:\b\s\w\ir\kitchen-checkout\build\third_party\pyasn1-modules;C:\b\s\w\ir\kitchen-checkout\build\third_party\python-rsa;C:\b\s\w\ir\kitchen-checkout\build\third_party\requests_2_10_0;C:\b\s\w\ir\kitchen-checkout\build\third_party\setuptools-0.6c11;C:\b\s\w\ir\kitchen-checkout\build\third_party\sqlalchemy_0_7_1;C:\b\s\w\ir\kitchen-checkout\build\third_party\sqlalchemy_migrate_0_7_1;C:\b\s\w\ir\kitchen-checkout\build\third_party\tempita_0_5;C:\b\s\w\ir\kitchen-checkout\build\third_party\twisted_10_2;C:\b\s\w\ir\kitchen-checkout\build\third_party\uritemplate;C:\b\s\w\ir\kitchen-checkout\build\third_party\site-packages 2019-02-15 01:51:35,040 - root: [DEBUG] Using task_output_dir: 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpeoyv2o' 2019-02-15 01:51:35,040 - root: [WARNING] task_output_dir 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpeoyv2o' already exists! 2019-02-15 01:51:35,040 - root: [WARNING] task_output_dir existing content: [] 2019-02-15 01:51:35,040 - root: [INFO] collect_cmd: swarming collect -server https://chromium-swarm.appspot.com -worker 50 -task-summary-python -task-output-stdout all -verbose -requests-json c:\b\s\w\ir\tmp\t\tmp6jizvj.json -output-dir c:\b\s\w\ir\tmp\t\tmpeoyv2o -task-summary-json c:\b\s\w\ir\tmp\t\tmpztsnsr.json 430945fe61cf4d10: exit 0 1965 files remaining... tools/testing/dart/main.dart:1: Warning: Interpreting this as package URI, 'package:test_dart/main.dart'. Test configuration: dart2js-win-chrome(architecture: x64, compiler: dart2js, mode: release, runtime: chrome, system: win, vm-options: [], timeout: null, preview-dart-2, use-sdk) Suites tested: samples, standalone, standalone_2, corelib_2, language_2, vm, benchmark_smoke, utils, lib_2, analyze_library, service, kernel Directory containing tests missing: C:\b\s\w\ir\runtime\observatory\tests\service Total: 1635 tests * 223 tests will be skipped (190 skipped by design) * 2 tests are expected to be flaky but not crash * 0 tests are expected to flaky crash * 1336 tests are expected to pass * 32 tests are expected to fail that we won't fix * 34 tests are expected to fail that we should fix * 0 tests are expected to crash that we should fix * 0 tests are allowed to timeout * 8 could not be categorized or are in multiple categories FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 328ms): set 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 exit code: 1 stdout: tests/language_2/control_flow_collections/if_test.dart:58:19: Error: Can't find ')' to match '('. Expect.setEquals({1}, [if (true) {1}].first; ^ tests/language_2/control_flow_collections/if_test.dart:57:19: Error: Can't find ')' to match '('. Expect.mapEquals({1: 1}, [if (true) {1: 1}].first; ^ tests/language_2/control_flow_collections/if_test.dart:56:20: Error: Can't find ')' to match '('. Expect.listEquals([1], [if (true) [1]].first; ^ tests/language_2/control_flow_collections/if_test.dart:161:19: Error: Can't find ')' to match '('. Expect.setEquals({1}, {if (true) {1}}.first; ^ tests/language_2/control_flow_collections/if_test.dart:160:19: Error: Can't find ')' to match '('. Expect.mapEquals({1: 1}, {if (true) {1: 1}}.first; ^ tests/language_2/control_flow_collections/if_test.dart:159:20: Error: Can't find ')' to match '('. Expect.listEquals([1], {if (true) [1]}.first; ^ tests/language_2/control_flow_collections/if_test.dart:27:36: Error: Unexpected token 'if'. Expect.listEquals(list, <int>[1, if (true) 2, 3]); ^^ tests/language_2/control_flow_collections/if_test.dart:30:36: Error: Unexpected token 'if'. Expect.listEquals(list, <int>[1, if (false) 9, 2, 3]); ^^ tests/language_2/control_flow_collections/if_test.dart:33:36: Error: Unexpected token 'if'. Expect.listEquals(list, <int>[1, if (false) 9 else 2, 3]); ^^ tests/language_2/control_flow_collections/if_test.dart:36:32: Error: Unexpected token 'if'. Expect.listEquals([1], <int>[if (true) 1]); ^^ tests/language_2/control_flow_collections/if_test.dart:39:33: Error: Unexpected token 'if'. Expect.listEquals(list, <int>[if (true) 1, 2, 3]); ^^ tests/language_2/control_flow_collections/if_test.dart:42:36: Error: Unexpected token 'if'. Expect.listEquals(list, <int>[1, if (true) 2, 3]); ^^ tests/language_2/control_flow_collections/if_test.dart:45:39: Error: Unexpected token 'if'. Expect.listEquals(list, <int>[1, 2, if (true) 3]); ^^ tests/language_2/control_flow_collections/if_test.dart:49:13: Error: Unexpected token 'if'. <int>[if (true) 1, if (false) 9, 2, if (true) 3]); ^^ tests/language_2/control_flow_collections/if_test.dart:49:26: Error: Unexpected token 'if'. <int>[if (true) 1, if (false) 9, 2, if (true) 3]); ^^ tests/language_2/control_flow_collections/if_test.dart:49:43: Error: Unexpected token 'if'. <int>[if (true) 1, if (false) 9, 2, if (true) 3]); ^^ tests/language_2/control_flow_collections/if_test.dart:52:37: Error: Unexpected token 'if'. Expect.listEquals(<int>[1], <int>[if (true as dynamic) 1]); ^^ tests/language_2/control_flow_collections/if_test.dart:53:37: Error: Unexpected token 'if'. Expect.listEquals(<int>[1], <int>[if (true as Object) 1]); ^^ tests/language_2/control_flow_collections/if_test.dart:56:27: Error: Unexpected token 'if'. Expect.listEquals([1], [if (true) [1]].first; ^^ tests/language_2/control_flow_collections/if_test.dart:57:29: Error: Unexpected token 'if'. Expect.mapEquals({1: 1}, [if (true) {1: 1}].first; ^^ tests/language_2/control_flow_collections/if_test.dart:58:26: Error: Unexpected token 'if'. Expect.setEquals({1}, [if (true) {1}].first; ^^ tests/language_2/control_flow_collections/if_test.dart:62:23: Error: Unexpected token '...'. <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]); ^^^ tests/language_2/control_flow_collections/if_test.dart:62:13: Error: Unexpected token 'if'. <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]); ^^ tests/language_2/control_flow_collections/if_test.dart:62:57: Error: Unexpected token '...'. <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]); ^^^ tests/language_2/control_flow_collections/if_test.dart:62:39: Error: Unexpected token 'if'. <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]); ^^ tests/language_2/control_flow_collections/if_test.dart:65:42: Error: Unexpected token 'if'. Expect.listEquals([1], <int>[if (true) if (true) 1, if (true) if (false) 9]); ^^ tests/language_2/control_flow_collections/if_test.dart:65:32: Error: Unexpected token 'if'. Expect.listEquals([1], <int>[if (true) if (true) 1, if (true) if (false) 9]); ^^ tests/language_2/control_flow_collections/if_test.dart:65:65: Error: Unexpected token 'if'. Expect.listEquals([1], <int>[if (true) if (true) 1, if (true) if (false) 9]); ^^ tests/language_2/control_flow_collections/if_test.dart:65:55: Error: Unexpected token 'if'. Expect.listEquals([1], <int>[if (true) if (true) 1, if (true) if (false) 9]); ^^ tests/language_2/control_flow_collections/if_test.dart:68:50: Error: Unexpected token 'if'. Expect.listEquals([1], <int>[if (false) 9 else if (true) 1]); ^^ tests/language_2/control_flow_collections/if_test.dart:68:32: Error: Unexpected token 'if'. Expect.listEquals([1], <int>[if (false) 9 else if (true) 1]); ^^ tests/language_2/control_flow_collections/if_test.dart:71:43: Error: Unexpected token 'for'. Expect.listEquals(list, <int>[if (true) for (var i in list) i]); ^^^ tests/language_2/control_flow_collections/if_test.dart:71:33: Error: Unexpected token 'if'. Expect.listEquals(list, <int>[if (true) for (var i in list) i]); ^^ tests/language_2/control_flow_collections/if_test.dart:74:33: Error: Unexpected token 'if'. Expect.listEquals(list, <int>[if (false) 9 for (var i in list) i]); ^^ tests/language_2/control_flow_collections/if_test.dart:74:46: Error: Expected ',' before this. Expect.listEquals(list, <int>[if (false) 9 for (var i in list) i]); ^^^ tests/language_2/control_flow_collections/if_test.dart:74:55: Error: 'i' is already declared in this scope. Expect.listEquals(list, <int>[if (false) 9 for (var i in list) i]); ^ tests/language_2/control_flow_collections/if_test.dart:71:52: Info: Previous declaration of 'i'. Expect.listEquals(list, <int>[if (true) for (var i in list) i]); ^ tests/language_2/control_flow_collections/if_test.dart:74:46: Error: Unexpected token 'for'. Expect.listEquals(list, <int>[if (false) 9 for (var i in list) i]); ^^^ tests/language_2/control_flow_collections/if_test.dart:62:31: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]); ^ tests/language_2/control_flow_collections/if_test.dart:79:42: Error: Unexpected token 'if'. Expect.mapEquals(map, <int, int>{1: 1, if (true) 2: 2, 3: 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:82:42: Error: Unexpected token 'if'. Expect.mapEquals(map, <int, int>{1: 1, if (false) 9: 9, 2: 2, 3: 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:85:42: Error: Unexpected token 'if'. Expect.mapEquals(map, <int, int>{1: 1, if (false) 9: 9 else 2: 2, 3: 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:88:49: Error: Unexpected token 'if'. Expect.mapEquals(<int, int>{1: 1}, <int, int>{if (true) 1: 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:91:36: Error: Unexpected token 'if'. Expect.mapEquals(map, <int, int>{if (true) 1: 1, 2: 2, 3: 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:94:42: Error: Unexpected token 'if'. Expect.mapEquals(map, <int, int>{1: 1, if (true) 2: 2, 3: 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:97:48: Error: Unexpected token 'if'. Expect.mapEquals(map, <int, int>{1: 1, 2: 2, if (true) 3: 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:101:18: Error: Unexpected token 'if'. <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:101:34: Error: Unexpected token 'if'. <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:101:57: Error: Unexpected token 'if'. <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:104:49: Error: Unexpected token 'if'. Expect.mapEquals(<int, int>{1: 1}, <int, int>{if (true as dynamic) 1: 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:105:49: Error: Unexpected token 'if'. Expect.mapEquals(<int, int>{1: 1}, <int, int>{if (true as Object) 1: 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:109:15: Error: Unexpected token '...'. if (true) ...<int, int>{1: 1, 2: 2}, ^^^ tests/language_2/control_flow_collections/if_test.dart:109:5: Error: Unexpected token 'if'. if (true) ...<int, int>{1: 1, 2: 2}, ^^ tests/language_2/control_flow_collections/if_test.dart:110:26: Error: Unexpected token '...'. if (false) 9: 9 else ...<int, int>{3: 3} ^^^ tests/language_2/control_flow_collections/if_test.dart:110:5: Error: Unexpected token 'if'. if (false) 9: 9 else ...<int, int>{3: 3} ^^ tests/language_2/control_flow_collections/if_test.dart:115:28: Error: Unexpected token 'if'. <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9}); ^^ tests/language_2/control_flow_collections/if_test.dart:115:18: Error: Unexpected token 'if'. <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9}); ^^ tests/language_2/control_flow_collections/if_test.dart:115:54: Error: Unexpected token 'if'. <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9}); ^^ tests/language_2/control_flow_collections/if_test.dart:115:44: Error: Unexpected token 'if'. <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9}); ^^ tests/language_2/control_flow_collections/if_test.dart:119:39: Error: Unexpected token 'if'. <int, int>{if (false) 9: 9 else if (true) 1: 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:119:18: Error: Unexpected token 'if'. <int, int>{if (false) 9: 9 else if (true) 1: 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:122:46: Error: Unexpected token 'for'. Expect.mapEquals(map, <int, int>{if (true) for (var i in list) i: i}); ^^^ tests/language_2/control_flow_collections/if_test.dart:122:36: Error: Unexpected token 'if'. Expect.mapEquals(map, <int, int>{if (true) for (var i in list) i: i}); ^^ tests/language_2/control_flow_collections/if_test.dart:125:36: Error: Unexpected token 'if'. Expect.mapEquals(map, <int, int>{if (false) 9: 9 for (var i in list) i: i}); ^^ tests/language_2/control_flow_collections/if_test.dart:125:52: Error: Expected ',' before this. Expect.mapEquals(map, <int, int>{if (false) 9: 9 for (var i in list) i: i}); ^^^ tests/language_2/control_flow_collections/if_test.dart:125:61: Error: 'i' is already declared in this scope. Expect.mapEquals(map, <int, int>{if (false) 9: 9 for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/if_test.dart:122:55: Info: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{if (true) for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/if_test.dart:125:52: Error: Unexpected token 'for'. Expect.mapEquals(map, <int, int>{if (false) 9: 9 for (var i in list) i: i}); ^^^ tests/language_2/control_flow_collections/if_test.dart:130:34: Error: Unexpected token 'if'. Expect.setEquals(set, <int>{1, if (true) 2, 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:133:34: Error: Unexpected token 'if'. Expect.setEquals(set, <int>{1, if (false) 9, 2, 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:136:34: Error: Unexpected token 'if'. Expect.setEquals(set, <int>{1, if (false) 9 else 2, 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:139:31: Error: Unexpected token 'if'. Expect.setEquals({1}, <int>{if (true) 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:142:31: Error: Unexpected token 'if'. Expect.setEquals(set, <int>{if (true) 1, 2, 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:145:34: Error: Unexpected token 'if'. Expect.setEquals(set, <int>{1, if (true) 2, 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:148:37: Error: Unexpected token 'if'. Expect.setEquals(set, <int>{1, 2, if (true) 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:152:13: Error: Unexpected token 'if'. <int>{if (true) 1, if (false) 9, 2, if (true) 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:152:26: Error: Unexpected token 'if'. <int>{if (true) 1, if (false) 9, 2, if (true) 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:152:43: Error: Unexpected token 'if'. <int>{if (true) 1, if (false) 9, 2, if (true) 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:155:31: Error: Unexpected token 'if'. Expect.setEquals({1}, <int>{if (true as dynamic) 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:156:31: Error: Unexpected token 'if'. Expect.setEquals({1}, <int>{if (true as Object) 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:159:27: Error: Unexpected token 'if'. Expect.listEquals([1], {if (true) [1]}.first; ^^ tests/language_2/control_flow_collections/if_test.dart:160:29: Error: Unexpected token 'if'. Expect.mapEquals({1: 1}, {if (true) {1: 1}}.first; ^^ tests/language_2/control_flow_collections/if_test.dart:161:26: Error: Unexpected token 'if'. Expect.setEquals({1}, {if (true) {1}}.first; ^^ tests/language_2/control_flow_collections/if_test.dart:165:23: Error: Unexpected token '...'. <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]}); ^^^ tests/language_2/control_flow_collections/if_test.dart:165:13: Error: Unexpected token 'if'. <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]}); ^^ tests/language_2/control_flow_collections/if_test.dart:165:57: Error: Unexpected token '...'. <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]}); ^^^ tests/language_2/control_flow_collections/if_test.dart:165:39: Error: Unexpected token 'if'. <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]}); ^^ tests/language_2/control_flow_collections/if_test.dart:168:41: Error: Unexpected token 'if'. Expect.setEquals({1}, <int>{if (true) if (true) 1, if (true) if (false) 9}); ^^ tests/language_2/control_flow_collections/if_test.dart:168:31: Error: Unexpected token 'if'. Expect.setEquals({1}, <int>{if (true) if (true) 1, if (true) if (false) 9}); ^^ tests/language_2/control_flow_collections/if_test.dart:168:64: Error: Unexpected token 'if'. Expect.setEquals({1}, <int>{if (true) if (true) 1, if (true) if (false) 9}); ^^ tests/language_2/control_flow_collections/if_test.dart:168:54: Error: Unexpected token 'if'. Expect.setEquals({1}, <int>{if (true) if (true) 1, if (true) if (false) 9}); ^^ tests/language_2/control_flow_collections/if_test.dart:171:49: Error: Unexpected token 'if'. Expect.setEquals({1}, <int>{if (false) 9 else if (true) 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:171:31: Error: Unexpected token 'if'. Expect.setEquals({1}, <int>{if (false) 9 else if (true) 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:174:41: Error: Unexpected token 'for'. Expect.setEquals(set, <int>{if (true) for (var i in list) i}); ^^^ tests/language_2/control_flow_collections/if_test.dart:174:31: Error: Unexpected token 'if'. Expect.setEquals(set, <int>{if (true) for (var i in list) i}); ^^ tests/language_2/control_flow_collections/if_test.dart:177:31: Error: Unexpected token 'if'. Expect.setEquals(set, <int>{if (false) 9 for (var i in list) i}); ^^ tests/language_2/control_flow_collections/if_test.dart:177:44: Error: Expected ',' before this. Expect.setEquals(set, <int>{if (false) 9 for (var i in list) i}); ^^^ tests/language_2/control_flow_collections/if_test.dart:177:53: Error: 'i' is already declared in this scope. Expect.setEquals(set, <int>{if (false) 9 for (var i in list) i}); ^ tests/language_2/control_flow_collections/if_test.dart:174:50: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{if (true) for (var i in list) i}); ^ tests/language_2/control_flow_collections/if_test.dart:177:44: Error: Unexpected token 'for'. Expect.setEquals(set, <int>{if (false) 9 for (var i in list) i}); ^^^ tests/language_2/control_flow_collections/if_test.dart:165:31: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]}); ^ tests/language_2/control_flow_collections/if_test.dart:188:27: Error: Unexpected token 'if'. Expect.listEquals([1], [if (true) log(1), if (false) log(2)]); ^^ tests/language_2/control_flow_collections/if_test.dart:188:45: Error: Unexpected token 'if'. Expect.listEquals([1], [if (true) log(1), if (false) log(2)]); ^^ tests/language_2/control_flow_collections/if_test.dart:194:8: Error: Unexpected token 'if'. [if (true) log(1) else log(2), if (false) log(3) else log(4)]); ^^ tests/language_2/control_flow_collections/if_test.dart:194:38: Error: Unexpected token 'if'. [if (true) log(1) else log(2), if (false) log(3) else log(4)]); ^^ tests/language_2/control_flow_collections/if_test.dart:201:5: Error: Unexpected token 'if'. if (true) 1: 1, ^^ tests/language_2/control_flow_collections/if_test.dart:202:5: Error: Unexpected token 'if'. if (false) 9: 9 else 2: 2, ^^ tests/language_2/control_flow_collections/if_test.dart:206:34: Error: Unexpected token 'if'. Expect.setEquals(set, <int>{1, if (true) 1, if (false) 9 else 2, 2, 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:206:47: Error: Unexpected token 'if'. Expect.setEquals(set, <int>{1, if (true) 1, if (false) 9 else 2, 2, 3}); ^^ tests/language_2/control_flow_collections/if_test.dart:218:5: Error: Unexpected token 'if'. if (true) e1b: 0, ^^ tests/language_2/control_flow_collections/if_test.dart:219:5: Error: Unexpected token 'if'. if (true) e2a: 0, ^^ tests/language_2/control_flow_collections/if_test.dart:220:5: Error: Unexpected token 'if'. if (true) e2b: 0 ^^ tests/language_2/control_flow_collections/if_test.dart:226:5: Error: Unexpected token 'if'. if (true) e1b, ^^ tests/language_2/control_flow_collections/if_test.dart:227:5: Error: Unexpected token 'if'. if (true) e2a, ^^ tests/language_2/control_flow_collections/if_test.dart:228:5: Error: Unexpected token 'if'. if (true) e2b ^^ tests/language_2/control_flow_collections/if_test.dart:235:38: Error: Unexpected token 'if'. Expect.throwsCastError(() => <int>[if (nonBool) 1]); ^^ tests/language_2/control_flow_collections/if_test.dart:236:43: Error: Unexpected token 'if'. Expect.throwsCastError(() => <int, int>{if (nonBool) 1: 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:237:38: Error: Unexpected token 'if'. Expect.throwsCastError(() => <int>{if (nonBool) 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:240:43: Error: Unexpected token 'if'. Expect.throwsAssertionError(() => <int>[if (nullBool) 1]); ^^ tests/language_2/control_flow_collections/if_test.dart:241:48: Error: Unexpected token 'if'. Expect.throwsAssertionError(() => <int, int>{if (nullBool) 1: 1}); ^^ tests/language_2/control_flow_collections/if_test.dart:242:43: Error: Unexpected token 'if'. Expect.throwsAssertionError(() => <int>{if (nullBool) 1}); ^^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_test FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/for_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 01.000190s): set 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 exit code: 1 stdout: tests/language_2/control_flow_collections/for_test.dart:64:19: Error: Can't find ')' to match '('. Expect.setEquals({1}, [for (var i = 1; i < 2; i++) {i}].first; ^ tests/language_2/control_flow_collections/for_test.dart:63:19: Error: Can't find ')' to match '('. Expect.mapEquals({1: 1}, [for (var i = 1; i < 2; i++) {i: i}].first; ^ tests/language_2/control_flow_collections/for_test.dart:62:20: Error: Can't find ')' to match '('. Expect.listEquals([1], [for (var i = 1; i < 2; i++) [i]].first; ^ tests/language_2/control_flow_collections/for_test.dart:181:19: Error: Can't find ')' to match '('. Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:180:19: Error: Can't find ')' to match '('. Expect.mapEquals({1: 1}, {for (var i = 1; i < 2; i++) {i: i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:179:20: Error: Can't find ')' to match '('. Expect.listEquals([1], {for (var i = 1; i < 2; i++) [i]}.first; ^ tests/language_2/control_flow_collections/for_test.dart:181:26: Error: Expected an identifier, but got 'for'. Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first; ^^^ tests/language_2/control_flow_collections/for_test.dart:181:37: Error: Non-optional parameters can't have a default value. Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:181:40: Error: Expected ')' before this. Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:181:57: Error: Expected a declaration, but got '}'. Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:181:58: Error: Expected a declaration, but got '.'. Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:181:59: Error: Variables must be declared using the keywords 'const', 'final', 'var' or a type name. Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first; ^^^^^ tests/language_2/control_flow_collections/for_test.dart:184:3: Error: A function declaration needs an explicit list of parameters. Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n}); ^^^^^^ tests/language_2/control_flow_collections/for_test.dart:184:9: Error: Expected '{' before this. Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n}); ^ tests/language_2/control_flow_collections/for_test.dart:184:9: Error: Expected a declaration, but got '.'. Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n}); ^ tests/language_2/control_flow_collections/for_test.dart:184:25: Error: Expected an identifier, but got '<'. Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n}); ^ tests/language_2/control_flow_collections/for_test.dart:184:26: Error: Expected ')' before this. Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n}); ^^^ tests/language_2/control_flow_collections/for_test.dart:184:67: Error: Expected a function body or '=>'. Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n}); ^ tests/language_2/control_flow_collections/for_test.dart:187:3: Error: A function declaration needs an explicit list of parameters. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^^^^^^ tests/language_2/control_flow_collections/for_test.dart:187:9: Error: Expected '{' before this. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^ tests/language_2/control_flow_collections/for_test.dart:187:3: Error: 'Expect' is already declared in this scope. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^^^^^^ tests/language_2/control_flow_collections/for_test.dart:184:3: Info: Previous declaration of 'Expect'. Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n}); ^^^^^^ tests/language_2/control_flow_collections/for_test.dart:187:9: Error: Expected a declaration, but got '.'. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^ tests/language_2/control_flow_collections/for_test.dart:187:25: Error: Expected an identifier, but got '<'. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^ tests/language_2/control_flow_collections/for_test.dart:187:26: Error: Expected ')' before this. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^^^ tests/language_2/control_flow_collections/for_test.dart:187:67: Error: Expected a function body or '=>'. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^ tests/language_2/control_flow_collections/for_test.dart:187:10: Error: 'setEquals' is already declared in this scope. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^^^^^^^^^ tests/language_2/control_flow_collections/for_test.dart:184:10: Info: Previous declaration of 'setEquals'. Expect.setEquals(set, <int>{for (int n in <num>[1, 2, 3, 4]) n}); ^^^^^^^^^ tests/language_2/control_flow_collections/for_test.dart:190:3: Error: A function declaration needs an explicit list of parameters. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^^^^^^ tests/language_2/control_flow_collections/for_test.dart:190:9: Error: Expected '{' before this. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:190:3: Error: 'Expect' is already declared in this scope. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^^^^^^ tests/language_2/control_flow_collections/for_test.dart:187:3: Info: Previous declaration of 'Expect'. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^^^^^^ tests/language_2/control_flow_collections/for_test.dart:190:9: Error: Expected a declaration, but got '.'. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:190:21: Error: Expected an identifier, but got '1'. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:190:23: Error: Expected ')' before this. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:190:75: Error: Expected a function body or '=>'. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:190:10: Error: 'setEquals' is already declared in this scope. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^^^^^^^^^ tests/language_2/control_flow_collections/for_test.dart:187:10: Info: Previous declaration of 'setEquals'. Expect.setEquals(set, <int>{for (num n in <num>[1, 2, 3, 4]) n}); ^^^^^^^^^ tests/language_2/control_flow_collections/for_test.dart:191:3: Error: A function declaration needs an explicit list of parameters. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i}); ^^^^^^ tests/language_2/control_flow_collections/for_test.dart:191:9: Error: Expected '{' before this. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:191:3: Error: 'Expect' is already declared in this scope. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i}); ^^^^^^ tests/language_2/control_flow_collections/for_test.dart:190:3: Info: Previous declaration of 'Expect'. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^^^^^^ tests/language_2/control_flow_collections/for_test.dart:191:9: Error: Expected a declaration, but got '.'. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:191:21: Error: Expected an identifier, but got '1'. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:191:23: Error: Expected ')' before this. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:191:74: Error: Expected a function body or '=>'. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:191:10: Error: 'setEquals' is already declared in this scope. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as Object; i++) i}); ^^^^^^^^^ tests/language_2/control_flow_collections/for_test.dart:190:10: Info: Previous declaration of 'setEquals'. Expect.setEquals({1}, <int>{for (var i = 1; (i < 2) as dynamic; i++) i}); ^^^^^^^^^ tests/language_2/control_flow_collections/for_test.dart:192:1: Error: Expected a declaration, but got '}'. } ^ tests/language_2/control_flow_collections/for_test.dart:26:33: Error: Unexpected token 'for'. Expect.listEquals(list, <int>[for (var i in list) i]); ^^^ tests/language_2/control_flow_collections/for_test.dart:26:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:29:42: Error: 'i' is already declared in this scope. Expect.listEquals(list, <int>[for (var i in <int>[1, 2]) i, 3, 4]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Info: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:29:33: Error: Unexpected token 'for'. Expect.listEquals(list, <int>[for (var i in <int>[1, 2]) i, 3, 4]); ^^^ tests/language_2/control_flow_collections/for_test.dart:29:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, <int>[for (var i in <int>[1, 2]) i, 3, 4]); ^ tests/language_2/control_flow_collections/for_test.dart:32:45: Error: 'i' is already declared in this scope. Expect.listEquals(list, <int>[1, for (var i in <int>[2, 3]) i, 4]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Info: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:32:36: Error: Unexpected token 'for'. Expect.listEquals(list, <int>[1, for (var i in <int>[2, 3]) i, 4]); ^^^ tests/language_2/control_flow_collections/for_test.dart:32:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, <int>[1, for (var i in <int>[2, 3]) i, 4]); ^ tests/language_2/control_flow_collections/for_test.dart:35:48: Error: 'i' is already declared in this scope. Expect.listEquals(list, <int>[1, 2, for (var i in <int>[3, 4]) i]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Info: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:35:39: Error: Unexpected token 'for'. Expect.listEquals(list, <int>[1, 2, for (var i in <int>[3, 4]) i]); ^^^ tests/language_2/control_flow_collections/for_test.dart:35:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, <int>[1, 2, for (var i in <int>[3, 4]) i]); ^ tests/language_2/control_flow_collections/for_test.dart:39:25: Error: 'i' is already declared in this scope. <int>[1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Info: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:39:16: Error: Unexpected token 'for'. <int>[1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4]); ^^^ tests/language_2/control_flow_collections/for_test.dart:39:48: Error: Unexpected token 'for'. <int>[1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4]); ^^^ tests/language_2/control_flow_collections/for_test.dart:38:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, ^ tests/language_2/control_flow_collections/for_test.dart:43:22: Error: 'i' is already declared in this scope. <int>[for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Info: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:43:13: Error: Unexpected token 'for'. <int>[for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i]); ^^^ tests/language_2/control_flow_collections/for_test.dart:43:52: Error: 'i' is already declared in this scope. <int>[for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Info: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:43:43: Error: Unexpected token 'for'. <int>[for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i]); ^^^ tests/language_2/control_flow_collections/for_test.dart:42:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, ^ tests/language_2/control_flow_collections/for_test.dart:47:22: Error: 'i' is already declared in this scope. <int>[for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Info: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:47:40: Error: Unexpected token '...'. <int>[for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]]); ^^^ tests/language_2/control_flow_collections/for_test.dart:47:13: Error: Unexpected token 'for'. <int>[for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]]); ^^^ tests/language_2/control_flow_collections/for_test.dart:46:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, ^ tests/language_2/control_flow_collections/for_test.dart:51:22: Error: 'i' is already declared in this scope. <int>[for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Info: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:51:52: Error: Unexpected token 'if'. <int>[for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i]); ^^ tests/language_2/control_flow_collections/for_test.dart:51:13: Error: Unexpected token 'for'. <int>[for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i]); ^^^ tests/language_2/control_flow_collections/for_test.dart:50:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, ^ tests/language_2/control_flow_collections/for_test.dart:55:22: Error: 'i' is already declared in this scope. <int>[for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Info: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:55:48: Error: Unexpected token 'if'. <int>[for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i]); ^^ tests/language_2/control_flow_collections/for_test.dart:55:13: Error: Unexpected token 'for'. <int>[for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i]); ^^^ tests/language_2/control_flow_collections/for_test.dart:54:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, ^ tests/language_2/control_flow_collections/for_test.dart:59:22: Error: 'i' is already declared in this scope. <int>[for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Info: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:59:40: Error: Unexpected token 'for'. <int>[for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j]); ^^^ tests/language_2/control_flow_collections/for_test.dart:59:13: Error: Unexpected token 'for'. <int>[for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j]); ^^^ tests/language_2/control_flow_collections/for_test.dart:58:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, ^ tests/language_2/control_flow_collections/for_test.dart:62:36: Error: 'i' is already declared in this scope. Expect.listEquals([1], [for (var i = 1; i < 2; i++) [i]].first; ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Info: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:62:27: Error: Unexpected token 'for'. Expect.listEquals([1], [for (var i = 1; i < 2; i++) [i]].first; ^^^ tests/language_2/control_flow_collections/for_test.dart:62:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals([1], [for (var i = 1; i < 2; i++) [i]].first; ^ tests/language_2/control_flow_collections/for_test.dart:63:38: Error: 'i' is already declared in this scope. Expect.mapEquals({1: 1}, [for (var i = 1; i < 2; i++) {i: i}].first; ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Info: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:63:29: Error: Unexpected token 'for'. Expect.mapEquals({1: 1}, [for (var i = 1; i < 2; i++) {i: i}].first; ^^^ tests/language_2/control_flow_collections/for_test.dart:63:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals({1: 1}, [for (var i = 1; i < 2; i++) {i: i}].first; ^ tests/language_2/control_flow_collections/for_test.dart:64:35: Error: 'i' is already declared in this scope. Expect.setEquals({1}, [for (var i = 1; i < 2; i++) {i}].first; ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Info: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:64:26: Error: Unexpected token 'for'. Expect.setEquals({1}, [for (var i = 1; i < 2; i++) {i}].first; ^^^ tests/language_2/control_flow_collections/for_test.dart:64:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals({1}, [for (var i = 1; i < 2; i++) {i}].first; ^ tests/language_2/control_flow_collections/for_test.dart:67:33: Error: Unexpected token 'for'. Expect.listEquals(list, <int>[for (int n in <num>[1, 2, 3, 4]) n]); ^^^ tests/language_2/control_flow_collections/for_test.dart:67:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, <int>[for (int n in <num>[1, 2, 3, 4]) n]); ^ tests/language_2/control_flow_collections/for_test.dart:70:42: Error: 'n' is already declared in this scope. Expect.listEquals(list, <int>[for (num n in <num>[1, 2, 3, 4]) n]); ^ tests/language_2/control_flow_collections/for_test.dart:67:42: Info: Previous declaration of 'n'. Expect.listEquals(list, <int>[for (int n in <num>[1, 2, 3, 4]) n]); ^ tests/language_2/control_flow_collections/for_test.dart:70:33: Error: Unexpected token 'for'. Expect.listEquals(list, <int>[for (num n in <num>[1, 2, 3, 4]) n]); ^^^ tests/language_2/control_flow_collections/for_test.dart:70:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals(list, <int>[for (num n in <num>[1, 2, 3, 4]) n]); ^ tests/language_2/control_flow_collections/for_test.dart:73:41: Error: 'i' is already declared in this scope. Expect.listEquals([1], <int>[for (var i = 1; (i < 2) as dynamic; i++) i]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Info: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:73:32: Error: Unexpected token 'for'. Expect.listEquals([1], <int>[for (var i = 1; (i < 2) as dynamic; i++) i]); ^^^ tests/language_2/control_flow_collections/for_test.dart:73:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals([1], <int>[for (var i = 1; (i < 2) as dynamic; i++) i]); ^ tests/language_2/control_flow_collections/for_test.dart:74:41: Error: 'i' is already declared in this scope. Expect.listEquals([1], <int>[for (var i = 1; (i < 2) as Object; i++) i]); ^ tests/language_2/control_flow_collections/for_test.dart:26:42: Info: Previous declaration of 'i'. Expect.listEquals(list, <int>[for (var i in list) i]); ^ tests/language_2/control_flow_collections/for_test.dart:74:32: Error: Unexpected token 'for'. Expect.listEquals([1], <int>[for (var i = 1; (i < 2) as Object; i++) i]); ^^^ tests/language_2/control_flow_collections/for_test.dart:74:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals([1], <int>[for (var i = 1; (i < 2) as Object; i++) i]); ^ tests/language_2/control_flow_collections/for_test.dart:47:48: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. <int>[for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]]); ^ tests/language_2/control_flow_collections/for_test.dart:79:36: Error: Unexpected token 'for'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:79:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:83:27: Error: 'i' is already declared in this scope. <int, int>{for (var i in <int>[1, 2]) i: i, 3: 3, 4: 4}); ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Info: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:83:18: Error: Unexpected token 'for'. <int, int>{for (var i in <int>[1, 2]) i: i, 3: 3, 4: 4}); ^^^ tests/language_2/control_flow_collections/for_test.dart:82:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, ^ tests/language_2/control_flow_collections/for_test.dart:87:33: Error: 'i' is already declared in this scope. <int, int>{1: 1, for (var i in <int>[2, 3]) i: i, 4: 4}); ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Info: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:87:24: Error: Unexpected token 'for'. <int, int>{1: 1, for (var i in <int>[2, 3]) i: i, 4: 4}); ^^^ tests/language_2/control_flow_collections/for_test.dart:86:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, ^ tests/language_2/control_flow_collections/for_test.dart:91:39: Error: 'i' is already declared in this scope. <int, int>{1: 1, 2: 2, for (var i in <int>[3, 4]) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Info: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:91:30: Error: Unexpected token 'for'. <int, int>{1: 1, 2: 2, for (var i in <int>[3, 4]) i: i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:90:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, ^ tests/language_2/control_flow_collections/for_test.dart:96:14: Error: 'i' is already declared in this scope. for (var i in <int>[]) i: i, ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Info: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:96:5: Error: Unexpected token 'for'. for (var i in <int>[]) i: i, ^^^ tests/language_2/control_flow_collections/for_test.dart:99:5: Error: Unexpected token 'for'. for (; false;) 9: 9, ^^^ tests/language_2/control_flow_collections/for_test.dart:94:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, <int, int>{ ^ tests/language_2/control_flow_collections/for_test.dart:105:14: Error: 'i' is already declared in this scope. for (var i in <int>[1]) i: i, ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Info: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:105:5: Error: Unexpected token 'for'. for (var i in <int>[1]) i: i, ^^^ tests/language_2/control_flow_collections/for_test.dart:107:14: Error: 'i' is already declared in this scope. for (var i = 3; i <= 4; i++) i: i ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Info: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:107:5: Error: Unexpected token 'for'. for (var i = 3; i <= 4; i++) i: i ^^^ tests/language_2/control_flow_collections/for_test.dart:104:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, <int, int>{ ^ tests/language_2/control_flow_collections/for_test.dart:112:14: Error: 'i' is already declared in this scope. for (var i in <int>[0, 2]) ...<int>{1 + i: 1 + i, 2 + i: 2 + i} ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Info: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:112:46: Error: Expected '}' before this. for (var i in <int>[0, 2]) ...<int>{1 + i: 1 + i, 2 + i: 2 + i} ^ tests/language_2/control_flow_collections/for_test.dart:112:32: Error: Unexpected token '...'. for (var i in <int>[0, 2]) ...<int>{1 + i: 1 + i, 2 + i: 2 + i} ^^^ tests/language_2/control_flow_collections/for_test.dart:112:5: Error: Unexpected token 'for'. for (var i in <int>[0, 2]) ...<int>{1 + i: 1 + i, 2 + i: 2 + i} ^^^ tests/language_2/control_flow_collections/for_test.dart:111:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, <int, int>{ ^ tests/language_2/control_flow_collections/for_test.dart:117:27: Error: 'i' is already declared in this scope. <int, int>{for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Info: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:117:57: Error: Unexpected token 'if'. <int, int>{for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i: i}); ^^ tests/language_2/control_flow_collections/for_test.dart:117:18: Error: Unexpected token 'for'. <int, int>{for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i: i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:116:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, ^ tests/language_2/control_flow_collections/for_test.dart:121:27: Error: 'i' is already declared in this scope. <int, int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Info: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:121:67: Error: Expected ':' before this. <int, int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i: i}); ^^^^ tests/language_2/control_flow_collections/for_test.dart:121:67: Error: Expected an identifier, but got 'else'. <int, int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i: i}); ^^^^ tests/language_2/control_flow_collections/for_test.dart:121:53: Error: Unexpected token 'if'. <int, int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i: i}); ^^ tests/language_2/control_flow_collections/for_test.dart:121:18: Error: Unexpected token 'for'. <int, int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i: i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:120:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, ^ tests/language_2/control_flow_collections/for_test.dart:125:14: Error: 'i' is already declared in this scope. for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j: i + j ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Info: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:125:32: Error: Unexpected token 'for'. for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j: i + j ^^^ tests/language_2/control_flow_collections/for_test.dart:125:5: Error: Unexpected token 'for'. for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j: i + j ^^^ tests/language_2/control_flow_collections/for_test.dart:124:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, <int, int>{ ^ tests/language_2/control_flow_collections/for_test.dart:129:36: Error: Unexpected token 'for'. Expect.mapEquals(map, <int, int>{for (int n in <num>[1, 2, 3, 4]) n: n}); ^^^ tests/language_2/control_flow_collections/for_test.dart:129:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, <int, int>{for (int n in <num>[1, 2, 3, 4]) n: n}); ^ tests/language_2/control_flow_collections/for_test.dart:132:45: Error: 'n' is already declared in this scope. Expect.mapEquals(map, <int, int>{for (num n in <num>[1, 2, 3, 4]) n: n}); ^ tests/language_2/control_flow_collections/for_test.dart:129:45: Info: Previous declaration of 'n'. Expect.mapEquals(map, <int, int>{for (int n in <num>[1, 2, 3, 4]) n: n}); ^ tests/language_2/control_flow_collections/for_test.dart:132:36: Error: Unexpected token 'for'. Expect.mapEquals(map, <int, int>{for (num n in <num>[1, 2, 3, 4]) n: n}); ^^^ tests/language_2/control_flow_collections/for_test.dart:132:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, <int, int>{for (num n in <num>[1, 2, 3, 4]) n: n}); ^ tests/language_2/control_flow_collections/for_test.dart:136:27: Error: 'i' is already declared in this scope. <int, int>{for (var i = 1; (i < 2) as dynamic; i++) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Info: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:136:18: Error: Unexpected token 'for'. <int, int>{for (var i = 1; (i < 2) as dynamic; i++) i: i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:135:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals([1], ^ tests/language_2/control_flow_collections/for_test.dart:138:27: Error: 'i' is already declared in this scope. <int, int>{for (var i = 1; (i < 2) as Object; i++) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:79:45: Info: Previous declaration of 'i'. Expect.mapEquals(map, <int, int>{for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/for_test.dart:138:18: Error: Unexpected token 'for'. <int, int>{for (var i = 1; (i < 2) as Object; i++) i: i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:137:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals([1], ^ tests/language_2/control_flow_collections/for_test.dart:143:31: Error: Unexpected token 'for'. Expect.setEquals(set, <int>{for (var i in list) i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:143:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:146:40: Error: 'i' is already declared in this scope. Expect.setEquals(set, <int>{for (var i in <int>[1, 2]) i, 3, 4}); ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:146:31: Error: Unexpected token 'for'. Expect.setEquals(set, <int>{for (var i in <int>[1, 2]) i, 3, 4}); ^^^ tests/language_2/control_flow_collections/for_test.dart:146:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, <int>{for (var i in <int>[1, 2]) i, 3, 4}); ^ tests/language_2/control_flow_collections/for_test.dart:149:43: Error: 'i' is already declared in this scope. Expect.setEquals(set, <int>{1, for (var i in <int>[2, 3]) i, 4}); ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:149:34: Error: Unexpected token 'for'. Expect.setEquals(set, <int>{1, for (var i in <int>[2, 3]) i, 4}); ^^^ tests/language_2/control_flow_collections/for_test.dart:149:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, <int>{1, for (var i in <int>[2, 3]) i, 4}); ^ tests/language_2/control_flow_collections/for_test.dart:152:46: Error: 'i' is already declared in this scope. Expect.setEquals(set, <int>{1, 2, for (var i in <int>[3, 4]) i}); ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:152:37: Error: Unexpected token 'for'. Expect.setEquals(set, <int>{1, 2, for (var i in <int>[3, 4]) i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:152:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, <int>{1, 2, for (var i in <int>[3, 4]) i}); ^ tests/language_2/control_flow_collections/for_test.dart:156:25: Error: 'i' is already declared in this scope. <int>{1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4}); ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:156:16: Error: Unexpected token 'for'. <int>{1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4}); ^^^ tests/language_2/control_flow_collections/for_test.dart:156:48: Error: Unexpected token 'for'. <int>{1, for (var i in <int>[]) i, 2, 3, for (; false;) 9, 4}); ^^^ tests/language_2/control_flow_collections/for_test.dart:155:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, ^ tests/language_2/control_flow_collections/for_test.dart:160:22: Error: 'i' is already declared in this scope. <int>{for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:160:13: Error: Unexpected token 'for'. <int>{for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:160:52: Error: 'i' is already declared in this scope. <int>{for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i}); ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:160:43: Error: Unexpected token 'for'. <int>{for (var i in <int>[1]) i, 2, for (var i = 3; i <= 4; i++) i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:159:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, ^ tests/language_2/control_flow_collections/for_test.dart:164:22: Error: 'i' is already declared in this scope. <int>{for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]}); ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:164:40: Error: Unexpected token '...'. <int>{for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]}); ^^^ tests/language_2/control_flow_collections/for_test.dart:164:13: Error: Unexpected token 'for'. <int>{for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]}); ^^^ tests/language_2/control_flow_collections/for_test.dart:163:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, ^ tests/language_2/control_flow_collections/for_test.dart:168:22: Error: 'i' is already declared in this scope. <int>{for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i}); ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:168:52: Error: Unexpected token 'if'. <int>{for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i}); ^^ tests/language_2/control_flow_collections/for_test.dart:168:13: Error: Unexpected token 'for'. <int>{for (var i in <int>[1, 9, 2, 3, 9, 4]) if (i != 9) i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:167:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, ^ tests/language_2/control_flow_collections/for_test.dart:172:22: Error: 'i' is already declared in this scope. <int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i}); ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:172:48: Error: Unexpected token 'if'. <int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i}); ^^ tests/language_2/control_flow_collections/for_test.dart:172:13: Error: Unexpected token 'for'. <int>{for (var i in <int>[1, -2, 3, -4]) if (i < 0) -i else i}); ^^^ tests/language_2/control_flow_collections/for_test.dart:171:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, ^ tests/language_2/control_flow_collections/for_test.dart:176:22: Error: 'i' is already declared in this scope. <int>{for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j}); ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:176:40: Error: Unexpected token 'for'. <int>{for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j}); ^^^ tests/language_2/control_flow_collections/for_test.dart:176:13: Error: Unexpected token 'for'. <int>{for (var i in <int>[0, 2]) for (var j = 1; j <= 2; j++) i + j}); ^^^ tests/language_2/control_flow_collections/for_test.dart:175:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, ^ tests/language_2/control_flow_collections/for_test.dart:179:36: Error: 'i' is already declared in this scope. Expect.listEquals([1], {for (var i = 1; i < 2; i++) [i]}.first; ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:179:27: Error: Unexpected token 'for'. Expect.listEquals([1], {for (var i = 1; i < 2; i++) [i]}.first; ^^^ tests/language_2/control_flow_collections/for_test.dart:179:3: Error: Can't use 'Expect' because it is declared more than once. Expect.listEquals([1], {for (var i = 1; i < 2; i++) [i]}.first; ^ tests/language_2/control_flow_collections/for_test.dart:180:38: Error: 'i' is already declared in this scope. Expect.mapEquals({1: 1}, {for (var i = 1; i < 2; i++) {i: i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:143:40: Info: Previous declaration of 'i'. Expect.setEquals(set, <int>{for (var i in list) i}); ^ tests/language_2/control_flow_collections/for_test.dart:180:29: Error: Unexpected token 'for'. Expect.mapEquals({1: 1}, {for (var i = 1; i < 2; i++) {i: i}}.first; ^^^ tests/language_2/control_flow_collections/for_test.dart:180:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals({1: 1}, {for (var i = 1; i < 2; i++) {i: i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:181:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:181:23: Error: Expected ';' after this. Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:164:48: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. <int>{for (var i in <int>[0, 2]) ...<int>[1 + i, 2 + i]}); ^ tests/language_2/control_flow_collections/for_test.dart:181:55: Error: Expected ';' after this. Expect.setEquals({1}, }for (var i = 1; i < 2; i++) {i}}.first; ^ tests/language_2/control_flow_collections/for_test.dart:197:5: Error: Unexpected token 'for'. for (var i in <int>[1, 2, 3]) i: i, ^^^ tests/language_2/control_flow_collections/for_test.dart:198:14: Error: 'i' is already declared in this scope. for (var i = 2; i <= 3; i++) i: i, ^ tests/language_2/control_flow_collections/for_test.dart:197:14: Info: Previous declaration of 'i'. for (var i in <int>[1, 2, 3]) i: i, ^ tests/language_2/control_flow_collections/for_test.dart:198:5: Error: Unexpected token 'for'. for (var i = 2; i <= 3; i++) i: i, ^^^ tests/language_2/control_flow_collections/for_test.dart:195:3: Error: Can't use 'Expect' because it is declared more than once. Expect.mapEquals(map, <int, int>{ ^ tests/language_2/control_flow_collections/for_test.dart:203:14: Error: 'i' is already declared in this scope. for (var i in <int>[1, 2, 3]) i, ^ tests/language_2/control_flow_collections/for_test.dart:197:14: Info: Previous declaration of 'i'. for (var i in <int>[1, 2, 3]) i: i, ^ tests/language_2/control_flow_collections/for_test.dart:203:5: Error: Unexpected token 'for'. for (var i in <int>[1, 2, 3]) i, ^^^ tests/language_2/control_flow_collections/for_test.dart:204:14: Error: 'i' is already declared in this scope. for (var i = 2; i <= 3; i++) i, ^ tests/language_2/control_flow_collections/for_test.dart:197:14: Info: Previous declaration of 'i'. for (var i in <int>[1, 2, 3]) i: i, ^ tests/language_2/control_flow_collections/for_test.dart:204:5: Error: Unexpected token 'for'. for (var i = 2; i <= 3; i++) i, ^^^ tests/language_2/control_flow_collections/for_test.dart:201:3: Error: Can't use 'Expect' because it is declared more than once. Expect.setEquals(set, <int>{ ^ tests/language_2/control_flow_collections/for_test.dart:220:5: Error: Unexpected token 'for'. for (var i = 0; i < keys.length; i++) keys[i]: values[i] ^^^ tests/language_2/control_flow_collections/for_test.dart:222:3: Error: Can't use 'Expect' because it is declared more than once. Expect.equals("1:a,2:a", map.keys.join(",")); ^ tests/language_2/control_flow_collections/for_test.dart:224:38: Error: 'i' is already declared in this scope. var set = <Equality>{e1a, for (var i = 0; i < keys.length; i++) keys[i]}; ^ tests/language_2/control_flow_collections/for_test.dart:220:14: Info: Previous declaration of 'i'. for (var i = 0; i < keys.length; i++) keys[i]: values[i] ^ tests/language_2/control_flow_collections/for_test.dart:224:29: Error: Unexpected token 'for'. var set = <Equality>{e1a, for (var i = 0; i < keys.length; i++) keys[i]}; ^^^ tests/language_2/control_flow_collections/for_test.dart:225:3: Error: Can't use 'Expect' because it is declared more than once. Expect.equals("1:a,2:a", set.join(",")); ^ tests/language_2/control_flow_collections/for_test.dart:231:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>[for (; nonBool;) 1]); ^^^ tests/language_2/control_flow_collections/for_test.dart:231:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int>[for (; nonBool;) 1]); ^ tests/language_2/control_flow_collections/for_test.dart:232:43: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int, int>{for (; nonBool;) 1: 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:232:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int, int>{for (; nonBool;) 1: 1}); ^ tests/language_2/control_flow_collections/for_test.dart:233:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>{for (; nonBool;) 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:233:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int>{for (; nonBool;) 1}); ^ tests/language_2/control_flow_collections/for_test.dart:237:43: Error: Unexpected token 'for'. Expect.throwsAssertionError(() => <int>[for (; nullBool;) 1]); ^^^ tests/language_2/control_flow_collections/for_test.dart:237:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsAssertionError(() => <int>[for (; nullBool;) 1]); ^ tests/language_2/control_flow_collections/for_test.dart:238:48: Error: Unexpected token 'for'. Expect.throwsAssertionError(() => <int, int>{for (; nullBool;) 1: 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:238:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsAssertionError(() => <int, int>{for (; nullBool;) 1: 1}); ^ tests/language_2/control_flow_collections/for_test.dart:239:43: Error: Unexpected token 'for'. Expect.throwsAssertionError(() => <int>{for (; nullBool;) 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:239:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsAssertionError(() => <int>{for (; nullBool;) 1}); ^ tests/language_2/control_flow_collections/for_test.dart:243:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>[for (int i = nonInt; false;) 1]); ^^^ tests/language_2/control_flow_collections/for_test.dart:243:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int>[for (int i = nonInt; false;) 1]); ^ tests/language_2/control_flow_collections/for_test.dart:244:43: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int, int>{for (int i = nonInt; false;) 1: 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:244:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int, int>{for (int i = nonInt; false;) 1: 1}); ^ tests/language_2/control_flow_collections/for_test.dart:245:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>{for (int i = nonInt; false;) 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:245:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int>{for (int i = nonInt; false;) 1}); ^ tests/language_2/control_flow_collections/for_test.dart:249:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>[for (int i in nonIterable) 1]); ^^^ tests/language_2/control_flow_collections/for_test.dart:249:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int>[for (int i in nonIterable) 1]); ^ tests/language_2/control_flow_collections/for_test.dart:250:43: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int, int>{for (int i in nonIterable) 1: 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:250:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int, int>{for (int i in nonIterable) 1: 1}); ^ tests/language_2/control_flow_collections/for_test.dart:251:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>{for (int i in nonIterable) 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:251:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int>{for (int i in nonIterable) 1}); ^ tests/language_2/control_flow_collections/for_test.dart:255:46: Error: Unexpected token 'for'. Expect.throwsNoSuchMethodError(() => <int>[for (var i in nullIterable) 1]); ^^^ tests/language_2/control_flow_collections/for_test.dart:255:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsNoSuchMethodError(() => <int>[for (var i in nullIterable) 1]); ^ tests/language_2/control_flow_collections/for_test.dart:257:24: Error: Unexpected token 'for'. () => <int, int>{for (var i in nullIterable) 1: 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:256:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsNoSuchMethodError( ^ tests/language_2/control_flow_collections/for_test.dart:258:46: Error: Unexpected token 'for'. Expect.throwsNoSuchMethodError(() => <int>{for (var i in nullIterable) 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:258:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsNoSuchMethodError(() => <int>{for (var i in nullIterable) 1}); ^ tests/language_2/control_flow_collections/for_test.dart:261:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>[for (var i = 0; i < 1; i++) nonInt]); ^^^ tests/language_2/control_flow_collections/for_test.dart:261:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int>[for (var i = 0; i < 1; i++) nonInt]); ^ tests/language_2/control_flow_collections/for_test.dart:263:24: Error: Unexpected token 'for'. () => <int, int>{for (var i = 0; i < 1; i++) nonInt: 1}); ^^^ tests/language_2/control_flow_collections/for_test.dart:262:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError( ^ tests/language_2/control_flow_collections/for_test.dart:265:24: Error: Unexpected token 'for'. () => <int, int>{for (var i = 0; i < 1; i++) 1: nonInt}); ^^^ tests/language_2/control_flow_collections/for_test.dart:264:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError( ^ tests/language_2/control_flow_collections/for_test.dart:266:38: Error: Unexpected token 'for'. Expect.throwsCastError(() => <int>{for (var i = 0; i < 1; i++) nonInt}); ^^^ tests/language_2/control_flow_collections/for_test.dart:266:3: Error: Can't use 'Expect' because it is declared more than once. Expect.throwsCastError(() => <int>{for (var i = 0; i < 1; i++) nonInt}); ^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/for_test FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_const_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 927ms): set 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 exit code: 1 stdout: tests/language_2/control_flow_collections/if_const_test.dart:61:19: Error: Can't find ')' to match '('. Expect.identical(const {1}, const [if (true) {1}].first; ^ tests/language_2/control_flow_collections/if_const_test.dart:60:19: Error: Can't find ')' to match '('. Expect.identical(const {1: 1}, const [if (true) {1: 1}].first; ^ tests/language_2/control_flow_collections/if_const_test.dart:59:19: Error: Can't find ')' to match '('. Expect.identical(const [1], const [if (true) [1]].first; ^ tests/language_2/control_flow_collections/if_const_test.dart:167:19: Error: Can't find ')' to match '('. Expect.identical(const <int>{1}, const <int>{if (true) {1}}.first; ^ tests/language_2/control_flow_collections/if_const_test.dart:166:19: Error: Can't find ')' to match '('. Expect.identical(const <int, int>{1: 1}, const <int>{if (true) {1: 1}}.first; ^ tests/language_2/control_flow_collections/if_const_test.dart:165:19: Error: Can't find ')' to match '('. Expect.identical(const <int>[1], const <int>{if (true) [1]}.first; ^ tests/language_2/control_flow_collections/if_const_test.dart:232:19: Error: Can't find ')' to match '('. Expect.identical(const <int>{1}, const <int>{if (true) 1, if (false) nonInt}; ^ tests/language_2/control_flow_collections/if_const_test.dart:30:41: Error: Unexpected token 'if'. Expect.identical(list, const <int>[1, if (true) 2, 3]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:33:41: Error: Unexpected token 'if'. Expect.identical(list, const <int>[1, if (false) 9, 2, 3]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:36:41: Error: Unexpected token 'if'. Expect.identical(list, const <int>[1, if (false) 9 else 2, 3]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:39:43: Error: Unexpected token 'if'. Expect.identical(const [1], const <int>[if (true) 1]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:42:38: Error: Unexpected token 'if'. Expect.identical(list, const <int>[if (true) 1, 2, 3]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:45:41: Error: Unexpected token 'if'. Expect.identical(list, const <int>[1, if (true) 2, 3]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:48:44: Error: Unexpected token 'if'. Expect.identical(list, const <int>[1, 2, if (true) 3]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:52:19: Error: Unexpected token 'if'. const <int>[if (true) 1, if (false) 9, 2, if (true) 3]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:52:32: Error: Unexpected token 'if'. const <int>[if (true) 1, if (false) 9, 2, if (true) 3]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:52:49: Error: Unexpected token 'if'. const <int>[if (true) 1, if (false) 9, 2, if (true) 3]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:55:43: Error: Unexpected token 'if'. Expect.identical(const [1], const <int>[if (dynamicTrue) 1]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:56:43: Error: Unexpected token 'if'. Expect.identical(const [1], const <int>[if (objectTrue) 1]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:59:38: Error: Unexpected token 'if'. Expect.identical(const [1], const [if (true) [1]].first; ^^ tests/language_2/control_flow_collections/if_const_test.dart:60:41: Error: Unexpected token 'if'. Expect.identical(const {1: 1}, const [if (true) {1: 1}].first; ^^ tests/language_2/control_flow_collections/if_const_test.dart:61:38: Error: Unexpected token 'if'. Expect.identical(const {1}, const [if (true) {1}].first; ^^ tests/language_2/control_flow_collections/if_const_test.dart:65:29: Error: Unexpected token '...'. const <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:65:19: Error: Unexpected token 'if'. const <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:65:63: Error: Unexpected token '...'. const <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:65:45: Error: Unexpected token 'if'. const <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:69:29: Error: Unexpected token 'if'. const <int>[if (true) if (true) 1, if (true) if (false) 9]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:69:19: Error: Unexpected token 'if'. const <int>[if (true) if (true) 1, if (true) if (false) 9]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:69:52: Error: Unexpected token 'if'. const <int>[if (true) if (true) 1, if (true) if (false) 9]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:69:42: Error: Unexpected token 'if'. const <int>[if (true) if (true) 1, if (true) if (false) 9]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:72:61: Error: Unexpected token 'if'. Expect.identical(const [1], const <int>[if (false) 9 else if (true) 1]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:72:43: Error: Unexpected token 'if'. Expect.identical(const [1], const <int>[if (false) 9 else if (true) 1]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:75:68: Error: Not a constant expression. Expect.identical(list, const <int>[if (true) for (var i in list) i]); ^ tests/language_2/control_flow_collections/if_const_test.dart:75:48: Error: Unexpected token 'for'. Expect.identical(list, const <int>[if (true) for (var i in list) i]); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:75:38: Error: Unexpected token 'if'. Expect.identical(list, const <int>[if (true) for (var i in list) i]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:78:38: Error: Unexpected token 'if'. Expect.identical(list, const <int>[if (false) 9 for (var i in list) i]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:78:51: Error: Expected ',' before this. Expect.identical(list, const <int>[if (false) 9 for (var i in list) i]); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:78:60: Error: 'i' is already declared in this scope. Expect.identical(list, const <int>[if (false) 9 for (var i in list) i]); ^ tests/language_2/control_flow_collections/if_const_test.dart:75:57: Info: Previous declaration of 'i'. Expect.identical(list, const <int>[if (true) for (var i in list) i]); ^ tests/language_2/control_flow_collections/if_const_test.dart:78:71: Error: Not a constant expression. Expect.identical(list, const <int>[if (false) 9 for (var i in list) i]); ^ tests/language_2/control_flow_collections/if_const_test.dart:78:51: Error: Unexpected token 'for'. Expect.identical(list, const <int>[if (false) 9 for (var i in list) i]); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:65:37: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. const <int>[if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]]); ^ tests/language_2/control_flow_collections/if_const_test.dart:83:48: Error: Unexpected token 'if'. Expect.identical(map, const <int, int>{1: 1, if (true) 2: 2, 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:86:48: Error: Unexpected token 'if'. Expect.identical(map, const <int, int>{1: 1, if (false) 9: 9, 2: 2, 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:90:30: Error: Unexpected token 'if'. const <int, int>{1: 1, if (false) 9: 9 else 2: 2, 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:93:51: Error: Unexpected token 'if'. Expect.identical(const {1: 1}, const <int, int>{if (true) 1: 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:96:42: Error: Unexpected token 'if'. Expect.identical(map, const <int, int>{if (true) 1: 1, 2: 2, 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:99:48: Error: Unexpected token 'if'. Expect.identical(map, const <int, int>{1: 1, if (true) 2: 2, 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:102:54: Error: Unexpected token 'if'. Expect.identical(map, const <int, int>{1: 1, 2: 2, if (true) 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:106:24: Error: Unexpected token 'if'. const <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:106:40: Error: Unexpected token 'if'. const <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:106:63: Error: Unexpected token 'if'. const <int, int>{if (true) 1: 1, if (false) 9: 9, 2: 2, if (true) 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:109:51: Error: Unexpected token 'if'. Expect.identical(const {1: 1}, const <int, int>{if (dynamicTrue) 1: 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:110:51: Error: Unexpected token 'if'. Expect.identical(const {1: 1}, const <int, int>{if (objectTrue) 1: 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:114:15: Error: Unexpected token '...'. if (true) ...<int, int>{1: 1, 2: 2}, ^^^ tests/language_2/control_flow_collections/if_const_test.dart:114:5: Error: Unexpected token 'if'. if (true) ...<int, int>{1: 1, 2: 2}, ^^ tests/language_2/control_flow_collections/if_const_test.dart:115:26: Error: Unexpected token '...'. if (false) 9: 9 else ...<int, int>{3: 3} ^^^ tests/language_2/control_flow_collections/if_const_test.dart:115:5: Error: Unexpected token 'if'. if (false) 9: 9 else ...<int, int>{3: 3} ^^ tests/language_2/control_flow_collections/if_const_test.dart:120:34: Error: Unexpected token 'if'. const <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:120:24: Error: Unexpected token 'if'. const <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:120:60: Error: Unexpected token 'if'. const <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:120:50: Error: Unexpected token 'if'. const <int, int>{if (true) if (true) 1: 1, if (true) if (false) 9: 9}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:124:45: Error: Unexpected token 'if'. const <int, int>{if (false) 9: 9 else if (true) 1: 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:124:24: Error: Unexpected token 'if'. const <int, int>{if (false) 9: 9 else if (true) 1: 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:127:72: Error: Not a constant expression. Expect.identical(map, const <int, int>{if (true) for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/if_const_test.dart:127:75: Error: Not a constant expression. Expect.identical(map, const <int, int>{if (true) for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/if_const_test.dart:127:52: Error: Unexpected token 'for'. Expect.identical(map, const <int, int>{if (true) for (var i in list) i: i}); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:127:42: Error: Unexpected token 'if'. Expect.identical(map, const <int, int>{if (true) for (var i in list) i: i}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:131:24: Error: Unexpected token 'if'. const <int, int>{if (false) 9: 9 for (var i in list) i: i}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:131:40: Error: Expected ',' before this. const <int, int>{if (false) 9: 9 for (var i in list) i: i}); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:131:49: Error: 'i' is already declared in this scope. const <int, int>{if (false) 9: 9 for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/if_const_test.dart:127:61: Info: Previous declaration of 'i'. Expect.identical(map, const <int, int>{if (true) for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/if_const_test.dart:131:60: Error: Not a constant expression. const <int, int>{if (false) 9: 9 for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/if_const_test.dart:131:63: Error: Not a constant expression. const <int, int>{if (false) 9: 9 for (var i in list) i: i}); ^ tests/language_2/control_flow_collections/if_const_test.dart:131:40: Error: Unexpected token 'for'. const <int, int>{if (false) 9: 9 for (var i in list) i: i}); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:136:40: Error: Unexpected token 'if'. Expect.identical(set, const <int>{1, if (true) 2, 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:139:40: Error: Unexpected token 'if'. Expect.identical(set, const <int>{1, if (false) 9, 2, 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:142:40: Error: Unexpected token 'if'. Expect.identical(set, const <int>{1, if (false) 9 else 2, 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:145:37: Error: Unexpected token 'if'. Expect.identical({1}, const <int>{if (true) 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:148:37: Error: Unexpected token 'if'. Expect.identical(set, const <int>{if (true) 1, 2, 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:151:40: Error: Unexpected token 'if'. Expect.identical(set, const <int>{1, if (true) 2, 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:154:43: Error: Unexpected token 'if'. Expect.identical(set, const <int>{1, 2, if (true) 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:158:19: Error: Unexpected token 'if'. const <int>{if (true) 1, if (false) 9, 2, if (true) 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:158:32: Error: Unexpected token 'if'. const <int>{if (true) 1, if (false) 9, 2, if (true) 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:158:49: Error: Unexpected token 'if'. const <int>{if (true) 1, if (false) 9, 2, if (true) 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:161:48: Error: Unexpected token 'if'. Expect.identical(const <int>{1}, const <int>{if (dynamicTrue) 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:162:48: Error: Unexpected token 'if'. Expect.identical(const <int>{1}, const <int>{if (objectTrue) 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:165:48: Error: Unexpected token 'if'. Expect.identical(const <int>[1], const <int>{if (true) [1]}.first; ^^ tests/language_2/control_flow_collections/if_const_test.dart:166:56: Error: Unexpected token 'if'. Expect.identical(const <int, int>{1: 1}, const <int>{if (true) {1: 1}}.first; ^^ tests/language_2/control_flow_collections/if_const_test.dart:167:48: Error: Unexpected token 'if'. Expect.identical(const <int>{1}, const <int>{if (true) {1}}.first; ^^ tests/language_2/control_flow_collections/if_const_test.dart:171:29: Error: Unexpected token '...'. const <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]}); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:171:19: Error: Unexpected token 'if'. const <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:171:63: Error: Unexpected token '...'. const <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]}); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:171:45: Error: Unexpected token 'if'. const <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:175:29: Error: Unexpected token 'if'. const <int>{if (true) if (true) 1, if (true) if (false) 9}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:175:19: Error: Unexpected token 'if'. const <int>{if (true) if (true) 1, if (true) if (false) 9}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:175:52: Error: Unexpected token 'if'. const <int>{if (true) if (true) 1, if (true) if (false) 9}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:175:42: Error: Unexpected token 'if'. const <int>{if (true) if (true) 1, if (true) if (false) 9}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:178:66: Error: Unexpected token 'if'. Expect.identical(const <int>{1}, const <int>{if (false) 9 else if (true) 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:178:48: Error: Unexpected token 'if'. Expect.identical(const <int>{1}, const <int>{if (false) 9 else if (true) 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:181:67: Error: Not a constant expression. Expect.identical(set, const <int>{if (true) for (var i in list) i}); ^ tests/language_2/control_flow_collections/if_const_test.dart:181:47: Error: Unexpected token 'for'. Expect.identical(set, const <int>{if (true) for (var i in list) i}); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:181:37: Error: Unexpected token 'if'. Expect.identical(set, const <int>{if (true) for (var i in list) i}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:184:37: Error: Unexpected token 'if'. Expect.identical(set, const <int>{if (false) 9 for (var i in list) i}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:184:50: Error: Expected ',' before this. Expect.identical(set, const <int>{if (false) 9 for (var i in list) i}); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:184:59: Error: 'i' is already declared in this scope. Expect.identical(set, const <int>{if (false) 9 for (var i in list) i}); ^ tests/language_2/control_flow_collections/if_const_test.dart:181:56: Info: Previous declaration of 'i'. Expect.identical(set, const <int>{if (true) for (var i in list) i}); ^ tests/language_2/control_flow_collections/if_const_test.dart:184:70: Error: Not a constant expression. Expect.identical(set, const <int>{if (false) 9 for (var i in list) i}); ^ tests/language_2/control_flow_collections/if_const_test.dart:184:50: Error: Unexpected token 'for'. Expect.identical(set, const <int>{if (false) 9 for (var i in list) i}); ^^^ tests/language_2/control_flow_collections/if_const_test.dart:165:58: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. Expect.identical(const <int>[1], const <int>{if (true) [1]}.first; ^ tests/language_2/control_flow_collections/if_const_test.dart:166:66: Error: A value of type 'Map<int, int>' can't be assigned to a variable of type 'int'. - 'Map' is from 'dart:core'. Expect.identical(const <int, int>{1: 1}, const <int>{if (true) {1: 1}}.first; ^ tests/language_2/control_flow_collections/if_const_test.dart:167:58: Error: A value of type 'Set<int>' can't be assigned to a variable of type 'int'. - 'Set' is from 'dart:core'. Expect.identical(const <int>{1}, const <int>{if (true) {1}}.first; ^ tests/language_2/control_flow_collections/if_const_test.dart:171:37: Error: A value of type 'List<int>' can't be assigned to a variable of type 'int'. - 'List' is from 'dart:core'. const <int>{if (true) ...<int>[1, 2], if (false) 9 else ...<int>[3]}); ^ tests/language_2/control_flow_collections/if_const_test.dart:195:19: Error: Unexpected token 'if'. const <int>[if (true) 1, if (false) nil + 1]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:195:32: Error: Unexpected token 'if'. const <int>[if (true) 1, if (false) nil + 1]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:197:19: Error: Unexpected token 'if'. const <int>[if (true) 1 else nil + 1, if (false) nil + 1 else 2]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:197:45: Error: Unexpected token 'if'. const <int>[if (true) 1 else nil + 1, if (false) nil + 1 else 2]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:200:5: Error: Unexpected token 'if'. if (true) 1: 1, ^^ tests/language_2/control_flow_collections/if_const_test.dart:201:5: Error: Unexpected token 'if'. if (false) nil + 1: 9, ^^ tests/language_2/control_flow_collections/if_const_test.dart:202:5: Error: Unexpected token 'if'. if (false) 9: nil + 1 ^^ tests/language_2/control_flow_collections/if_const_test.dart:205:5: Error: Unexpected token 'if'. if (true) 1: 1 else nil + 1: 9, ^^ tests/language_2/control_flow_collections/if_const_test.dart:205:16: Error: Expected '}' before this. if (true) 1: 1 else nil + 1: 9, ^ tests/language_2/control_flow_collections/if_const_test.dart:210:19: Error: Unexpected token 'if'. const <int>{if (true) 1, if (false) nil + 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:210:32: Error: Unexpected token 'if'. const <int>{if (true) 1, if (false) nil + 1}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:212:19: Error: Unexpected token 'if'. const <int>{if (true) 1 else nil + 1, if (false) nil + 1 else 2}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:212:45: Error: Unexpected token 'if'. const <int>{if (true) 1 else nil + 1, if (false) nil + 1 else 2}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:218:48: Error: Unexpected token 'if'. Expect.identical(const <int>[1], const <int>[if (true) 1, if (false) nonInt]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:218:61: Error: Unexpected token 'if'. Expect.identical(const <int>[1], const <int>[if (true) 1, if (false) nonInt]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:220:19: Error: Unexpected token 'if'. const <int>[if (true) 1 else nonInt, if (false) nonInt else 2]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:220:44: Error: Unexpected token 'if'. const <int>[if (true) 1 else nonInt, if (false) nonInt else 2]); ^^ tests/language_2/control_flow_collections/if_const_test.dart:222:33: Error: Expected '}' before this. Expect.identical(const <int>{1: 1}, const <int, int>{ ^ tests/language_2/control_flow_collections/if_const_test.dart:223:5: Error: Unexpected token 'if'. if (true) 1: 1, ^^ tests/language_2/control_flow_collections/if_const_test.dart:224:5: Error: Unexpected token 'if'. if (false) nonInt: 9, ^^ tests/language_2/control_flow_collections/if_const_test.dart:225:5: Error: Unexpected token 'if'. if (false) 9: nonInt ^^ tests/language_2/control_flow_collections/if_const_test.dart:228:5: Error: Unexpected token 'if'. if (true) 1: 1 else nonInt: 9, ^^ tests/language_2/control_flow_collections/if_const_test.dart:229:5: Error: Unexpected token 'if'. if (false) 9: nonInt else 2: 2 ^^ tests/language_2/control_flow_collections/if_const_test.dart:232:48: Error: Unexpected token 'if'. Expect.identical(const <int>{1}, const <int>{if (true) 1, if (false) nonInt}; ^^ tests/language_2/control_flow_collections/if_const_test.dart:232:61: Error: Unexpected token 'if'. Expect.identical(const <int>{1}, const <int>{if (true) 1, if (false) nonInt}; ^^ tests/language_2/control_flow_collections/if_const_test.dart:234:19: Error: Unexpected token 'if'. const <int>{if (true) 1 else nonInt, if (false) nonInt else 2}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:234:44: Error: Unexpected token 'if'. const <int>{if (true) 1 else nonInt, if (false) nonInt else 2}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:241:5: Error: Unexpected token 'if'. if (false) 1: 1, ^^ tests/language_2/control_flow_collections/if_const_test.dart:242:5: Error: Unexpected token 'if'. if (true) 2: 2 else 3: 3, ^^ tests/language_2/control_flow_collections/if_const_test.dart:246:40: Error: Unexpected token 'if'. Expect.setEquals(set, const <int>{1, if (false) 1, if (true) 2 else 3, 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:246:54: Error: Unexpected token 'if'. Expect.setEquals(set, const <int>{1, if (false) 1, if (true) 2 else 3, 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:252:30: Error: Unexpected token 'if'. const <int, int>{1: 1, if (true) 2: 2, if (false) 9: 9, 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:252:46: Error: Unexpected token 'if'. const <int, int>{1: 1, if (true) 2: 2, if (false) 9: 9, 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:254:24: Error: Unexpected token 'if'. const <int, int>{if (false) 9: 9 else 1: 1, 2: 2, if (true) 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:254:57: Error: Unexpected token 'if'. const <int, int>{if (false) 9: 9 else 1: 1, 2: 2, if (true) 3: 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:256:40: Error: Unexpected token 'if'. Expect.identical(set, const <int>{1, if (true) 2, if (false) 9, 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:256:53: Error: Unexpected token 'if'. Expect.identical(set, const <int>{1, if (true) 2, if (false) 9, 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:257:37: Error: Unexpected token 'if'. Expect.identical(set, const <int>{if (false) 9 else 1, 2, if (true) 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:257:61: Error: Unexpected token 'if'. Expect.identical(set, const <int>{if (false) 9 else 1, 2, if (true) 3}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:260:51: Error: Unexpected token 'if'. Expect.notIdentical(map, const <int, int>{1: 1, if (true) 3: 3, 2: 2}); ^^ tests/language_2/control_flow_collections/if_const_test.dart:261:43: Error: Unexpected token 'if'. Expect.notIdentical(set, const <int>{1, if (true) 3, 2}); ^^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_const_test FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/map_set_ambiguity_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 467ms): set 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 exit code: 1 stdout: tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:28:36: Error: Unexpected token '...'. expectMapOf<int, int>({if (true) ...map}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:28:26: Error: Unexpected token 'if'. expectMapOf<int, int>({if (true) ...map}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:29:31: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...set}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:29:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...set}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:31:31: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:31:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...iterable}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:32:31: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:32:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...customSet}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:33:36: Error: Unexpected token '...'. expectMapOf<int, int>({if (true) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:33:26: Error: Unexpected token 'if'. expectMapOf<int, int>({if (true) ...customMap}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:35:36: Error: Unexpected token '...'. expectMapOf<int, int>({if (true) ...map else ...map}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:35:48: Error: Unexpected token '...'. expectMapOf<int, int>({if (true) ...map else ...map}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:35:26: Error: Unexpected token 'if'. expectMapOf<int, int>({if (true) ...map else ...map}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:37:44: Error: Unexpected token '...'. expectMapOf<dynamic, dynamic>({if (true) ...map else ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:37:56: Error: Unexpected token '...'. expectMapOf<dynamic, dynamic>({if (true) ...map else ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:37:34: Error: Unexpected token 'if'. expectMapOf<dynamic, dynamic>({if (true) ...map else ...dyn}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:40:36: Error: Unexpected token '...'. expectMapOf<int, int>({if (true) ...map else ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:40:48: Error: Unexpected token '...'. expectMapOf<int, int>({if (true) ...map else ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:40:26: Error: Unexpected token 'if'. expectMapOf<int, int>({if (true) ...map else ...customMap}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:42:31: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...set else ...set}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:42:43: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...set else ...set}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:42:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...set else ...set}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:43:35: Error: Unexpected token '...'. expectSetOf<dynamic>({if (true) ...set else ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:43:47: Error: Unexpected token '...'. expectSetOf<dynamic>({if (true) ...set else ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:43:25: Error: Unexpected token 'if'. expectSetOf<dynamic>({if (true) ...set else ...dyn}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:44:31: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...set else ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:44:43: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...set else ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:44:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...set else ...iterable}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:45:31: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...set else ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:45:43: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...set else ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:45:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...set else ...customSet}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:49:35: Error: Unexpected token '...'. expectSetOf<dynamic>({if (true) ...dyn else ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:49:47: Error: Unexpected token '...'. expectSetOf<dynamic>({if (true) ...dyn else ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:49:25: Error: Unexpected token 'if'. expectSetOf<dynamic>({if (true) ...dyn else ...iterable}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:50:35: Error: Unexpected token '...'. expectSetOf<dynamic>({if (true) ...dyn else ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:50:47: Error: Unexpected token '...'. expectSetOf<dynamic>({if (true) ...dyn else ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:50:25: Error: Unexpected token 'if'. expectSetOf<dynamic>({if (true) ...dyn else ...customSet}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:51:44: Error: Unexpected token '...'. expectMapOf<dynamic, dynamic>({if (true) ...dyn else ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:51:56: Error: Unexpected token '...'. expectMapOf<dynamic, dynamic>({if (true) ...dyn else ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:51:34: Error: Unexpected token 'if'. expectMapOf<dynamic, dynamic>({if (true) ...dyn else ...customMap}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:53:31: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...iterable else ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:53:48: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...iterable else ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:53:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...iterable else ...iterable}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:54:31: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...iterable else ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:54:48: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...iterable else ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:54:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...iterable else ...customSet}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:57:31: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...customSet else ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:57:49: Error: Unexpected token '...'. expectSetOf<int>({if (true) ...customSet else ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:57:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...customSet else ...customSet}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:60:36: Error: Unexpected token '...'. expectMapOf<int, int>({if (true) ...customMap else ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:60:54: Error: Unexpected token '...'. expectMapOf<int, int>({if (true) ...customMap else ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:60:26: Error: Unexpected token 'if'. expectMapOf<int, int>({if (true) ...customMap else ...customMap}); ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:64:41: Error: Unexpected token '...'. expectMapOf<int, int>({for (; false;) ...map}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:64:26: Error: Unexpected token 'for'. expectMapOf<int, int>({for (; false;) ...map}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:65:36: Error: Unexpected token '...'. expectSetOf<int>({for (; false;) ...set}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:65:21: Error: Unexpected token 'for'. expectSetOf<int>({for (; false;) ...set}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:67:36: Error: Unexpected token '...'. expectSetOf<int>({for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:67:21: Error: Unexpected token 'for'. expectSetOf<int>({for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:68:36: Error: Unexpected token '...'. expectSetOf<int>({for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:68:21: Error: Unexpected token 'for'. expectSetOf<int>({for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:69:41: Error: Unexpected token '...'. expectMapOf<int, int>({for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:69:26: Error: Unexpected token 'for'. expectMapOf<int, int>({for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:71:41: Error: Unexpected token '...'. expectMapOf<int, int>({for (; false;) ...map, for (; false;) ...map}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:71:26: Error: Unexpected token 'for'. expectMapOf<int, int>({for (; false;) ...map, for (; false;) ...map}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:71:64: Error: Unexpected token '...'. expectMapOf<int, int>({for (; false;) ...map, for (; false;) ...map}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:71:49: Error: Unexpected token 'for'. expectMapOf<int, int>({for (; false;) ...map, for (; false;) ...map}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:74:23: Error: Unexpected token '...'. {for (; false;) ...map, for (; false;) ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:74:8: Error: Unexpected token 'for'. {for (; false;) ...map, for (; false;) ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:74:46: Error: Unexpected token '...'. {for (; false;) ...map, for (; false;) ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:74:31: Error: Unexpected token 'for'. {for (; false;) ...map, for (; false;) ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:78:23: Error: Unexpected token '...'. {for (; false;) ...map, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:78:8: Error: Unexpected token 'for'. {for (; false;) ...map, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:78:46: Error: Unexpected token '...'. {for (; false;) ...map, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:78:31: Error: Unexpected token 'for'. {for (; false;) ...map, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:80:36: Error: Unexpected token '...'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...set}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:80:21: Error: Unexpected token 'for'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...set}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:80:59: Error: Unexpected token '...'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...set}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:80:44: Error: Unexpected token 'for'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...set}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:81:40: Error: Unexpected token '...'. expectSetOf<dynamic>({for (; false;) ...set, for (; false;) ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:81:25: Error: Unexpected token 'for'. expectSetOf<dynamic>({for (; false;) ...set, for (; false;) ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:81:63: Error: Unexpected token '...'. expectSetOf<dynamic>({for (; false;) ...set, for (; false;) ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:81:48: Error: Unexpected token 'for'. expectSetOf<dynamic>({for (; false;) ...set, for (; false;) ...dyn}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:82:36: Error: Unexpected token '...'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:82:21: Error: Unexpected token 'for'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:82:59: Error: Unexpected token '...'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:82:44: Error: Unexpected token 'for'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:83:36: Error: Unexpected token '...'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:83:21: Error: Unexpected token 'for'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:83:59: Error: Unexpected token '...'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:83:44: Error: Unexpected token 'for'. expectSetOf<int>({for (; false;) ...set, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:88:23: Error: Unexpected token '...'. {for (; false;) ...dyn, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:88:8: Error: Unexpected token 'for'. {for (; false;) ...dyn, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:88:46: Error: Unexpected token '...'. {for (; false;) ...dyn, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:88:31: Error: Unexpected token 'for'. {for (; false;) ...dyn, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:90:23: Error: Unexpected token '...'. {for (; false;) ...dyn, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:90:8: Error: Unexpected token 'for'. {for (; false;) ...dyn, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:90:46: Error: Unexpected token '...'. {for (; false;) ...dyn, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:90:31: Error: Unexpected token 'for'. {for (; false;) ...dyn, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:92:23: Error: Unexpected token '...'. {for (; false;) ...dyn, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:92:8: Error: Unexpected token 'for'. {for (; false;) ...dyn, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:92:46: Error: Unexpected token '...'. {for (; false;) ...dyn, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:92:31: Error: Unexpected token 'for'. {for (; false;) ...dyn, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:95:23: Error: Unexpected token '...'. {for (; false;) ...iterable, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:95:8: Error: Unexpected token 'for'. {for (; false;) ...iterable, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:95:51: Error: Unexpected token '...'. {for (; false;) ...iterable, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:95:36: Error: Unexpected token 'for'. {for (; false;) ...iterable, for (; false;) ...iterable}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:97:23: Error: Unexpected token '...'. {for (; false;) ...iterable, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:97:8: Error: Unexpected token 'for'. {for (; false;) ...iterable, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:97:51: Error: Unexpected token '...'. {for (; false;) ...iterable, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:97:36: Error: Unexpected token 'for'. {for (; false;) ...iterable, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:102:23: Error: Unexpected token '...'. {for (; false;) ...customSet, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:102:8: Error: Unexpected token 'for'. {for (; false;) ...customSet, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:102:52: Error: Unexpected token '...'. {for (; false;) ...customSet, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:102:37: Error: Unexpected token 'for'. {for (; false;) ...customSet, for (; false;) ...customSet}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:107:23: Error: Unexpected token '...'. {for (; false;) ...customMap, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:107:8: Error: Unexpected token 'for'. {for (; false;) ...customMap, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:107:52: Error: Unexpected token '...'. {for (; false;) ...customMap, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:107:37: Error: Unexpected token 'for'. {for (; false;) ...customMap, for (; false;) ...customMap}); ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:114:34: Error: Unexpected token '...'. Map<int, int> map = {if (true) ...untypedMap}; ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:114:24: Error: Unexpected token 'if'. Map<int, int> map = {if (true) ...untypedMap}; ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:115:29: Error: Unexpected token '...'. Set<int> set = {if (true) ...untypedIterable}; ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:115:19: Error: Unexpected token 'if'. Set<int> set = {if (true) ...untypedIterable}; ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:116:39: Error: Unexpected token '...'. Iterable<int> iterable = {if (true) ...untypedIterable}; ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:116:29: Error: Unexpected token 'if'. Iterable<int> iterable = {if (true) ...untypedIterable}; ^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:122:25: Error: Unexpected token '...'. map = {for (; false;) ...untypedMap}; ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:122:10: Error: Unexpected token 'for'. map = {for (; false;) ...untypedMap}; ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:123:25: Error: Unexpected token '...'. set = {for (; false;) ...untypedIterable}; ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:123:10: Error: Unexpected token 'for'. set = {for (; false;) ...untypedIterable}; ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:124:30: Error: Unexpected token '...'. iterable = {for (; false;) ...untypedIterable}; ^^^ tests/language_2/control_flow_collections/map_set_ambiguity_test.dart:124:15: Error: Unexpected token 'for'. iterable = {for (; false;) ...untypedIterable}; ^^^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/map_set_ambiguity_test FAILED: dart2js-chrome release_x64 language_2/spread_collections/syntax_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 414ms): set 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 exit code: 1 stdout: tests/language_2/spread_collections/syntax_test.dart:12:30: Error: Unexpected token '...'. Expect.listEquals([1, 2], [...[1, 2],]); ^^^ tests/language_2/spread_collections/syntax_test.dart:13:35: Error: Unexpected token '...'. Expect.mapEquals({1: 1, 2: 2}, {...{1: 1, 2: 2},}); ^^^ tests/language_2/spread_collections/syntax_test.dart:14:29: Error: Unexpected token '...'. Expect.setEquals({1, 2}, {...{1, 2},}); ^^^ tests/language_2/spread_collections/syntax_test.dart:17:36: Error: Unexpected token '...'. Expect.listEquals([1, 2, 3], [1, ...true ? [2] : [], 3]); ^^^ tests/language_2/spread_collections/syntax_test.dart:18:33: Error: Unexpected token '...?'. Expect.listEquals([1, 3], [1, ...?true ? null : [], 3]); ^^^^ tests/language_2/spread_collections/syntax_test.dart:21:36: Error: Unexpected token '...'. Expect.listEquals([1, 2, 3], [1, ...a = [2], 3]); ^^^ tests/language_2/spread_collections/syntax_test.dart:22:33: Error: Unexpected token '...?'. Expect.listEquals([1, 3], [1, ...?a = null, 3]); ^^^^ tests/language_2/spread_collections/syntax_test.dart:25:39: Error: Unexpected token '...'. Expect.listEquals([1, 2, 3, 4], [1, ...b..add(3), 4]); ^^^ tests/language_2/spread_collections/syntax_test.dart:27:39: Error: Unexpected token '...?'. Expect.listEquals([1, 2, 3, 4], [1, ...?b..add(3), 4]); ^^^^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/syntax_test FAILED: dart2js-chrome release_x64 lib_2/html/custom/document_register_type_extensions_test/construction/construction Expected: Slow Actual: Pass --- Command "dart2js" (took 09.000141s): set 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 exit code: 0 stdout: Compiled 7,710,176 characters Dart to 693,618 characters JavaScript in 9.12 seconds Dart 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 --- Command "chrome" (took 451ms): C:\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 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.296 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.297 } - { type: message_received value: dart-main-done timestamp: 0.297 } - { type: message_received value: unittest-suite-done timestamp: 0.399 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head><style>body {transition: opacity ease-in 0.2s; } body[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } </style> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> document_register_type_extensions_test </title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script src="/packages/web_components/webcomponents.js"></script> <script src="/packages/web_components/dart_support.js"></script> </head> <body><table class="unittest-table"><tbody><tr><td colspan="3" class="unittest-pass">PASS</td></tr> <tr> <td>4</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction constructors custom tag"> construction constructors custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>5</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction constructors type extension"> construction constructors type extension </a>. </p> <pre></pre> </td> </tr> <tr> <td>6</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction constructors custom tag deriving from custom tag"> construction constructors custom tag deriving from custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>7</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction constructors type extension deriving from custom tag"> construction constructors type extension deriving from custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>8</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction single-parameter createElement custom tag"> construction single-parameter createElement custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>9</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction single-parameter createElement does not upgrade type extension"> construction single-parameter createElement does not upgrade type extension </a>. </p> <pre></pre> </td> </tr> <tr> <td>10</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction single-parameter createElement custom tag deriving from custom tag"> construction single-parameter createElement custom tag deriving from custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>11</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction single-parameter createElement type extension deriving from custom tag"> construction single-parameter createElement type extension deriving from custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>12</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension does not upgrade extension of custom tag"> construction createElement with type extension does not upgrade extension of custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>13</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension upgrades valid extension"> construction createElement with type extension upgrades valid extension </a>. </p> <pre></pre> </td> </tr> <tr> <td>14</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension type extension of incorrect tag"> construction createElement with type extension type extension of incorrect tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>15</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension incorrect extension of custom tag"> construction createElement with type extension incorrect extension of custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>16</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension incorrect extension of type extension"> construction createElement with type extension incorrect extension of type extension </a>. </p> <pre></pre> </td> </tr> <tr> <td>17</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension null type extension"> construction createElement with type extension null type extension </a>. </p> <pre></pre> </td> </tr> <tr> <td>18</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension empty type extension"> construction createElement with type extension empty type extension </a>. </p> <pre></pre> </td> </tr> <tr><td colspan="3" class="unittest-pass"> All 15 tests passed </td></tr></tbody></table></body> exit code: 0 --- To debug locally, run: C:\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 --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration lib_2/html/custom/document_register_type_extensions_test/construction/construction FAILED: dart2js-chrome release_x64 lib_2/html/custom/document_register_type_extensions_test/registration/registration Expected: Slow Actual: Pass --- Command "dart2js" (took 09.000141s): set 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 exit code: 0 stdout: Compiled 7,710,176 characters Dart to 693,618 characters JavaScript in 9.12 seconds Dart 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 --- Command "chrome" (took 436ms): C:\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 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.242 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.243 } - { type: message_received value: dart-main-done timestamp: 0.244 } - { type: message_received value: unittest-suite-done timestamp: 0.334 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head><style>body {transition: opacity ease-in 0.2s; } body[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } </style> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> document_register_type_extensions_test </title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script src="/packages/web_components/webcomponents.js"></script> <script src="/packages/web_components/dart_support.js"></script> </head> <body><table class="unittest-table"><tbody><tr><td colspan="3" class="unittest-pass">PASS</td></tr> <tr> <td>1</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=registration cannot register twice"> registration cannot register twice </a>. </p> <pre></pre> </td> </tr> <tr> <td>2</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=registration cannot register for non-matching tag"> registration cannot register for non-matching tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>3</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=registration cannot register type extension for custom tag"> registration cannot register type extension for custom tag </a>. </p> <pre></pre> </td> </tr> <tr><td colspan="3" class="unittest-pass"> All 3 tests passed </td></tr></tbody></table></body> exit code: 0 --- To debug locally, run: C:\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 --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration lib_2/html/custom/document_register_type_extensions_test/registration/registration FAILED: dart2js-chrome release_x64 lib_2/html/custom/entered_left_view_test/shadow_dom/shadow_dom Expected: Slow Actual: Pass --- Command "dart2js" (took 07.000387s): set 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 exit code: 0 stdout: Compiled 7,708,490 characters Dart to 662,446 characters JavaScript in 7.37 seconds Dart 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 --- Command "chrome" (took 384ms): C:\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 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.175 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.176 } - { type: message_received value: dart-main-done timestamp: 0.176 } - { type: message_received value: unittest-suite-done timestamp: 0.27 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head><style>body {transition: opacity ease-in 0.2s; } body[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } </style> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> entered_left_view_test </title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script src="/packages/web_components/webcomponents.js"></script> <script src="/packages/web_components/dart_support.js"></script> </head> <body><table class="unittest-table"><tbody><tr><td colspan="3" class="unittest-pass">PASS</td></tr> <tr> <td>19</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=shadow_dom Created in Shadow DOM that is not in a document"> shadow_dom Created in Shadow DOM that is not in a document </a>. </p> <pre></pre> </td> </tr> <tr> <td>20</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=shadow_dom Leaves Shadow DOM that is not in a document"> shadow_dom Leaves Shadow DOM that is not in a document </a>. </p> <pre></pre> </td> </tr> <tr> <td>21</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=shadow_dom Enters a document with a view as a constituent of Shadow DOM"> shadow_dom Enters a document with a view as a constituent of Shadow DOM </a>. </p> <pre></pre> </td> </tr> <tr><td colspan="3" class="unittest-pass"> All 3 tests passed </td></tr></tbody></table></body> exit code: 0 --- To debug locally, run: C:\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 --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration lib_2/html/custom/entered_left_view_test/shadow_dom/shadow_dom FAILED: dart2js-chrome release_x64 lib_2/math/random_big_test Expected: Pass Actual: RuntimeError --- Command "dart2js" (took 01.000783s): set 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 exit code: 0 stdout: Compiled 7,398,445 characters Dart to 50,193 characters JavaScript in 1.78 seconds Dart 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 --- Command "chrome" (took 65ms): C:\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 Runtime error: Expect.isFalse(true) fails. Expect.isFalse(true) fails. 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) 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) 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) 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) at dartMainRunner (http://127.0.0.1:52512/root_dart/tools/testing/dart/test_controller.js:292:5) at http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_math_random_big_test/test.js:1354:7 at http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_math_random_big_test/test.js:1340:7 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) at http://127.0.0.1:52512/root_build/generated_compilations/dart2js-sdk/tests_lib_2_math_random_big_test/test.js:1358:3 exit code: 0 --- To debug locally, run: C:\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 --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration lib_2/math/random_big_test FAILED: dart2js-chrome release_x64 lib_2/typed_data/typed_data_hierarchy_int64_test Expected: Pass Actual: RuntimeError --- Command "dart2js" (took 01.000332s): set 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 exit code: 0 stdout: Compiled 7,398,749 characters Dart to 56,915 characters JavaScript in 1.32 seconds Dart 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 --- Command "chrome" (took 56ms): C:\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 Runtime error: Unsupported operation: Int64List not supported by dart2js. Unsupported operation: Int64List not supported by dart2js. 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) 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) 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) at dartMainRunner (http://127.0.0.1:52512/root_dart/tools/testing/dart/test_controller.js:292:5) 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 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 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) 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 exit code: 0 --- To debug locally, run: C:\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 --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration lib_2/typed_data/typed_data_hierarchy_int64_test FAILED: dart2js-chrome release_x64 lib_2/typed_data/unmodifiable_typed_data_test Expected: Pass Actual: RuntimeError --- Command "dart2js" (took 02.000010s): set 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 exit code: 0 stdout: Compiled 7,403,627 characters Dart to 120,355 characters JavaScript in 2.00 seconds Dart 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 --- Command "chrome" (took 48ms): C:\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 Runtime error: Unsupported operation: Int64List not supported by dart2js. Unsupported operation: Int64List not supported by dart2js. 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) 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) 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) at dartMainRunner (http://127.0.0.1:52512/root_dart/tools/testing/dart/test_controller.js:292:5) 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 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 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) 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 exit code: 0 --- To debug locally, run: C:\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 --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration lib_2/typed_data/unmodifiable_typed_data_test 1412 out of 1412 completed Tests running for 5 minutes Double reporting tests http://127.0.0.1:52512/root_build/generated_tests/dart2js-chrome-sdk/multitest_language_2_regress_24935_test_01/test.html?crossOriginPort=52513 http://127.0.0.1:52512/root_build/generated_tests/dart2js-chrome-sdk/tests_lib_2_html_fileapi_directory_test/test.html?crossOriginPort=52513 --- Total time: 07:29 --- 0:00:09.678176 - chrome - dart2js-chrome release_x64/lib_2/html/native_gc_test 0: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 0: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 0:00:08.657183 - dart2js - dart2js-chrome release_x64/lib_2/html/indexeddb_3_test 0:00:08.389632 - dart2js - dart2js-chrome release_x64/lib_2/html/custom_element_name_clash_test/test/test 0:00:08.190675 - dart2js - dart2js-chrome release_x64/lib_2/html/js_array_test 0:00:08.144580 - dart2js - dart2js-chrome release_x64/lib_2/html/js_dispatch_property_test 0:00:07.851303 - dart2js - dart2js-chrome release_x64/lib_2/html/fileapi_directory_test 0: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 0: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 0:00:07.342795 - dart2js - dart2js-chrome release_x64/lib_2/html/js_dart_to_string_test 0:00:07.310444 - dart2js - dart2js-chrome release_x64/lib_2/html/interactive_media_test 0:00:06.578111 - dart2js - dart2js-chrome release_x64/corelib_2/apply3_test 0:00:06.484358 - dart2js - dart2js-chrome release_x64/corelib_2/bool_operator_test 0:00:06.400630 - dart2js - dart2js-chrome release_x64/lib_2/html/custom/attribute_changed_callback_test 0:00:06.390637 - dart2js - dart2js-chrome release_x64/vm/dart/regress_35887_test 0:00:06.362791 - chrome - dart2js-chrome release_x64/corelib_2/uri_test 0:00:05.948173 - dart2js - dart2js-chrome release_x64/vm/dart/slow_path_shared_stub_test 0:00:05.948173 - dart2js - dart2js-chrome release_x64/vm/dart/regress30853_test 0:00:05.640632 - dart2js - dart2js-chrome release_x64/vm/dart/single_target_and_method_extractors_test 2019-02-15 01:51:35,513 - root: [DEBUG] Contents of task_output_dir: ['c:\\b\\s\\w\\ir\\tmp\\t\\tmpeoyv2o\\430945fe61cf4d10'] 2019-02-15 01:51:35,513 - root: [WARNING] Expected output.json file missing: set(['c:\\b\\s\\w\\ir\\tmp\\t\\tmpeoyv2o\\430945fe61cf4d10\\output.json']) Found: [] Expected: ['c:\\b\\s\\w\\ir\\tmp\\t\\tmpeoyv2o\\430945fe61cf4d10\\output.json'] 2019-02-15 01:51:35,513 - root: [WARNING] No shard json files found in task_output_dir: 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpeoyv2o' Found ['c:\\b\\s\\w\\ir\\tmp\\t\\tmpeoyv2o\\430945fe61cf4d10'] 2019-02-15 01:51:35,513 - root: [DEBUG] Found shard_json_files: ['c:\\b\\s\\w\\ir\\tmp\\t\\tmpeoyv2o\\430945fe61cf4d10\\output.json'] 2019-02-15 01:51:35,513 - root: [INFO] merge_cmd: C:\b\s\w\ir\cache\vpython\691c07\Scripts\python.exe C:\b\s\w\ir\kitchen-checkout\build\scripts/slave\recipe_modules\swarming\resources\noop_merge.py --summary-json c:\b\s\w\ir\tmp\t\tmpztsnsr.json --task-output-dir c:\b\s\w\ir\tmp\t\tmpeoyv2o -o c:\b\s\w\ir\tmp\t\tmpnzt6yl.json Running ['C:\\b\\s\\w\\ir\\cache\\vpython\\691c07\\Scripts\\python.exe', 'C:\\b\\s\\w\\ir\\kitchen-checkout\\build\\scripts/slave\\recipe_modules\\swarming\\resources\\noop_merge.py', '--summary-json', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpztsnsr.json', '--task-output-dir', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpeoyv2o', '-o', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpnzt6yl.json'] in None (env: None) Command ['C:\\b\\s\\w\\ir\\cache\\vpython\\691c07\\Scripts\\python.exe', 'C:\\b\\s\\w\\ir\\kitchen-checkout\\build\\scripts/slave\\recipe_modules\\swarming\\resources\\noop_merge.py', '--summary-json', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpztsnsr.json', '--task-output-dir', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpeoyv2o', '-o', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpnzt6yl.json'] returned exit code 0