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\cache\builder\sdk\tools\test.py' '--progress=status' --report --time --write-debug-log --write-results --write-logs --clean-exit -nanalyzer-asserts-win --output_directory 'c:\b\s\w\ir\tmp\t\tmpgtga8d' in dir C:\b\s\w\ir\cache\builder\sdk: allow_subannotations: False base_name: 'analyze tests enable-asserts' cmd: ['C:\\b\\s\\w\\ir\\cipd_bin_packages\\python.exe', '-u', 'C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tools\\test.py', '--progress=status', '--report', '--time', '--write-debug-log', '--write-results', '--write-logs', '--clean-exit', '-nanalyzer-asserts-win', '--output_directory', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpgtga8d'] cwd: 'C:\\b\\s\\w\\ir\\cache\\builder\\sdk' env: {'BUILDBOT_BUILDERNAME': 'analyzer-win-release-try'} env_prefixes: {} env_suffixes: {'PATH': 'C:\\b\\s\\w\\ir\\kitchen-checkout\\depot_tools'} infra_step: False name: 'analyze tests enable-asserts' nest_level: 0 ok_ret: frozenset([0]) 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 BUILDBOT_BUILDERNAME: analyzer-win-release-try 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/8920163966648415472 LOGDOG_STREAM_PROJECT: dart LOGDOG_STREAM_SERVER_PATH: net.pipe:LUCILogDogKitchen_2996 LOGONSERVER: \\WIN10-DART-FEDC LUCI_CONTEXT: C:\b\s\w\ityupomk\luci_context.778473382 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\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;C:\b\s\w\ir\kitchen-checkout\depot_tools 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-1qzf SWARMING_EXTERNAL_BOT_SETUP: 1 SWARMING_HEADLESS: 1 SWARMING_SERVER: https://chromium-swarm.appspot.com SWARMING_TASK_ID: 43536240c7384d11 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 tools/testing/dart/main.dart:1: Warning: Interpreting this as package URI, 'package:test_dart/main.dart'. Test configurations: analyzer-asserts-win(architecture: x64, compiler: dart2analyzer, mode: release, runtime: none, system: win, vm-options: [], timeout: null, enable-asserts, 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 analyzer-asserts-win(architecture: x64, compiler: dart2analyzer, mode: release, runtime: none, system: win, vm-options: [], timeout: null, enable-asserts, preview-dart-2, use-sdk) Suites tested: observatory_ui Total: 10101 tests * 513 tests will be skipped (113 skipped by design) * 21 tests are expected to be flaky but not crash * 4 tests are expected to flaky crash * 9402 tests are expected to pass * 0 tests are expected to fail that we won't fix * 156 tests are expected to fail that we should fix * 4 tests are expected to crash that we should fix * 0 tests are allowed to timeout * 1 could not be categorized or are in multiple categories FAILED: dart2analyzer-none release_x64 language_2/const_constructor3_test/04 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 15ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\const_constructor3_test_04.dart exit code: 0 --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/const_constructor3_test/04 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/for_variable_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 01.000109s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\control_flow_collections\for_variable_test.dart exit code: 1 stderr: WARNING: Flag "set-literals" is no longer required. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\for_variable_test.dart|197|39|61|The element type 'List<String>' can't be assigned to the list type 'String'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\for_variable_test.dart|163|77|91|The element type 'List<String>' can't be assigned to the list type 'String'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\for_variable_test.dart|49|54|1|The element type 'int' can't be assigned to the list type '() → int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\for_variable_test.dart|42|52|1|The element type 'int' can't be assigned to the list type '() → int'. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/for_variable_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/for_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 01.000250s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\control_flow_collections\for_test.dart exit code: 1 stderr: WARNING: Flag "set-literals" is no longer required. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\for_test.dart|164|43|19|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|ARGUMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\for_test.dart|135|20|3|The argument type 'List<int>' can't be assigned to the parameter type 'Map'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\for_test.dart|47|43|19|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|ARGUMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\for_test.dart|137|20|3|The argument type 'List<int>' can't be assigned to the parameter type 'Map'. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/for_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_inference_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 01.000315s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\control_flow_collections\if_inference_test.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #3 ArgumentListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:377:16) #4 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #5 UnifyingAstVisitor.visitArgumentList (package:analyzer/dart/ast/visitor.dart:3190:45) #6 ResolverVisitor.visitArgumentList (package:analyzer/src/generated/resolver.dart:3943:11) #7 ArgumentListImpl.accept (package:analyzer/src/dart/ast/ast.dart:373:49) #8 ResolverVisitor.visitMethodInvocation (package:analyzer/src/generated/resolver.dart:4762:24) #9 MethodInvocationImpl.accept (package:analyzer/src/dart/ast/ast.dart:7489:49) #10 ExpressionStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:3795:18) #11 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #12 UnifyingAstVisitor.visitExpressionStatement (package:analyzer/dart/ast/visitor.dart:3297:59) #13 ExpressionStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:3791:49) #14 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #15 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #16 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #17 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #18 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #19 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #20 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #21 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #22 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #23 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #24 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #25 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #26 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #27 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #28 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #29 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #30 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #31 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #32 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #33 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #34 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #35 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #36 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #37 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #38 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #39 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #40 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #41 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #42 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #43 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #44 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #45 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #46 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #47 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #48 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #49 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #50 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #51 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #52 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #53 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #54 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #55 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #56 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #57 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #58 _RootZone.runUnary (dart:async/zone.dart:1379:54) #59 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #60 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #61 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #62 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #63 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #64 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #65 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #66 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_inference_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 01.000348s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\control_flow_collections\if_const_test.dart exit code: 1 stderr: WARNING: Flag "set-literals" is no longer required. ERROR|SYNTACTIC_ERROR|EXPECTED_TOKEN|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|235|1|1|Expected to find ')'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|65|32|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|195|43|7|Evaluation of this constant expression throws an exception. ERROR|COMPILE_TIME_ERROR|NON_CONSTANT_MAP_ELEMENT|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|131|40|24|The elements in a const map literal must be constant. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|212|56|7|Evaluation of this constant expression throws an exception. ERROR|STATIC_WARNING|EQUAL_KEYS_IN_MAP|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|243|5|1|Two keys in a map literal can't be equal. ERROR|SYNTACTIC_ERROR|EXPECTED_TOKEN|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|184|50|3|Expected to find ','. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|171|66|8|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|EQUAL_KEYS_IN_MAP|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|241|16|1|Two keys in a map literal can't be equal. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|206|19|7|Evaluation of this constant expression throws an exception. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|167|58|3|The element type 'Set<int>' can't be assigned to the set type 'int'. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|202|19|7|Evaluation of this constant expression throws an exception. ERROR|SYNTACTIC_ERROR|EXPECTED_TOKEN|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|131|40|3|Expected to find ','. ERROR|COMPILE_TIME_ERROR|NON_CONSTANT_LIST_ELEMENT|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|78|51|21|The values in a const list literal must be constants. ERROR|COMPILE_TIME_ERROR|NON_CONSTANT_MAP_ELEMENT|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|127|52|24|The elements in a const map literal must be constant. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|166|66|6|The element type 'Map<int, int>' can't be assigned to the set type 'int'. ERROR|COMPILE_TIME_ERROR|NON_CONSTANT_SET_ELEMENT|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|184|50|21|The values in a const set literal must be constants. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|212|36|7|Evaluation of this constant expression throws an exception. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|65|66|8|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|165|58|3|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|SYNTACTIC_ERROR|EXPECTED_TOKEN|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|78|51|3|Expected to find ','. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|210|43|7|Evaluation of this constant expression throws an exception. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|205|25|7|Evaluation of this constant expression throws an exception. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|197|56|7|Evaluation of this constant expression throws an exception. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|171|32|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|COMPILE_TIME_ERROR|NON_CONSTANT_LIST_ELEMENT|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|75|48|21|The values in a const list literal must be constants. ERROR|COMPILE_TIME_ERROR|NON_CONSTANT_SET_ELEMENT|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|181|47|21|The values in a const set literal must be constants. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|201|16|7|Evaluation of this constant expression throws an exception. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|197|36|7|Evaluation of this constant expression throws an exception. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/for_inference_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 01.000422s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\control_flow_collections\for_inference_test.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #3 ArgumentListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:377:16) #4 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #5 UnifyingAstVisitor.visitArgumentList (package:analyzer/dart/ast/visitor.dart:3190:45) #6 ResolverVisitor.visitArgumentList (package:analyzer/src/generated/resolver.dart:3943:11) #7 ArgumentListImpl.accept (package:analyzer/src/dart/ast/ast.dart:373:49) #8 ResolverVisitor.visitMethodInvocation (package:analyzer/src/generated/resolver.dart:4762:24) #9 MethodInvocationImpl.accept (package:analyzer/src/dart/ast/ast.dart:7489:49) #10 ExpressionStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:3795:18) #11 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #12 UnifyingAstVisitor.visitExpressionStatement (package:analyzer/dart/ast/visitor.dart:3297:59) #13 ExpressionStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:3791:49) #14 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #15 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #16 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #17 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #18 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #19 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #20 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #21 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #22 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #23 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #24 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #25 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #26 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #27 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #28 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #29 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #30 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #31 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #32 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #33 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #34 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #35 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #36 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #37 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #38 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #39 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #40 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #41 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #42 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #43 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #44 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #45 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #46 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #47 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #48 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #49 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #50 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #51 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #52 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #53 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #54 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #55 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #56 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #57 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #58 _RootZone.runUnary (dart:async/zone.dart:1379:54) #59 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #60 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #61 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #62 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #63 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #64 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #65 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #66 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/for_inference_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 249ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\control_flow_collections\map_set_ambiguity_test.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 296ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\control_flow_collections\if_test.dart exit code: 1 stderr: WARNING: Flag "set-literals" is no longer required. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_test.dart|165|26|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|SYNTACTIC_ERROR|EXPECTED_TOKEN|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_test.dart|177|44|3|Expected to find ','. ERROR|STATIC_WARNING|EQUAL_KEYS_IN_MAP|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_test.dart|203|5|1|Two keys in a map literal can't be equal. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_test.dart|62|26|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_test.dart|62|60|8|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|EQUAL_KEYS_IN_MAP|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_test.dart|201|15|1|Two keys in a map literal can't be equal. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_test.dart|165|60|8|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|SYNTACTIC_ERROR|EXPECTED_TOKEN|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_test.dart|74|46|3|Expected to find ','. ERROR|SYNTACTIC_ERROR|EXPECTED_TOKEN|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_test.dart|125|52|3|Expected to find ','. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/syntax_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 218ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\control_flow_collections\syntax_test.dart exit code: 1 stderr: WARNING: Flag "set-literals" is no longer required. ERROR|SYNTACTIC_ERROR|MISSING_IDENTIFIER|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\syntax_test.dart|27|48|4|Expected an identifier. ERROR|COMPILE_TIME_ERROR|DUPLICATE_DEFINITION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\syntax_test.dart|44|7|1|The name 'a' is already defined. ERROR|SYNTACTIC_ERROR|MISSING_IDENTIFIER|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\syntax_test.dart|29|49|4|Expected an identifier. ERROR|COMPILE_TIME_ERROR|DUPLICATE_DEFINITION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\syntax_test.dart|38|7|1|The name 'a' is already defined. ERROR|SYNTACTIC_ERROR|MISSING_IDENTIFIER|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\syntax_test.dart|28|48|4|Expected an identifier. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/syntax_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/syntax_error_test/09 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 31ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\syntax_error_test_09.dart exit code: 0 --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/syntax_error_test/09 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/syntax_error_test/12 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 31ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\syntax_error_test_12.dart exit code: 0 --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/syntax_error_test/12 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/type_error_test/00 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 156ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\type_error_test_00.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/type_error_test/00 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/type_error_test/01 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 140ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\type_error_test_01.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/type_error_test/01 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/type_error_test/02 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 176ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\type_error_test_02.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/type_error_test/02 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/02 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 171ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_02.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/02 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/07 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 15ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_07.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/07 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/08 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 31ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_08.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/08 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/10 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 46ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_10.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/10 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/19 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 19ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_19.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/19 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/22 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 20ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_22.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/22 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/20 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 21ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_20.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/20 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/21 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 23ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_21.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/21 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/28 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 14ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_28.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/28 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/33 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 16ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_33.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/33 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/34 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 18ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_34.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/34 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/37 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 7ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_37.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/37 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/38 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 6ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_38.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/38 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/35 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 19ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_35.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/35 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/39 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 5ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_39.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/39 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/36 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 33ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_36.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/36 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/05 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 176ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_05.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/05 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/04 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 234ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_04.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/04 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/02 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 238ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_02.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/02 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/01 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 267ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_01.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/01 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/06 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 53ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_06.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/06 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/00 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 285ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_00.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/00 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/08 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 41ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_08.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/08 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/07 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 49ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_07.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/07 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/09 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 40ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_09.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/09 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/11 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 41ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_11.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/11 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/13 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 36ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_13.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/13 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/10 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 75ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_10.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/10 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/12 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 55ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_12.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/12 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/14 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 56ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_14.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/14 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/15 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 51ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_15.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/15 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/03 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 953ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_03.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/03 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/none Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 995ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_none.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/none FAILED: dart2analyzer-none release_x64 language_2/spread_collections/inference_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 796ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\spread_collections\inference_test.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #3 ArgumentListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:377:16) #4 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #5 UnifyingAstVisitor.visitArgumentList (package:analyzer/dart/ast/visitor.dart:3190:45) #6 ResolverVisitor.visitArgumentList (package:analyzer/src/generated/resolver.dart:3943:11) #7 ArgumentListImpl.accept (package:analyzer/src/dart/ast/ast.dart:373:49) #8 ResolverVisitor.visitMethodInvocation (package:analyzer/src/generated/resolver.dart:4762:24) #9 MethodInvocationImpl.accept (package:analyzer/src/dart/ast/ast.dart:7489:49) #10 ExpressionStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:3795:18) #11 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #12 UnifyingAstVisitor.visitExpressionStatement (package:analyzer/dart/ast/visitor.dart:3297:59) #13 ExpressionStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:3791:49) #14 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #15 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #16 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #17 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #18 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #19 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #20 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #21 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #22 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #23 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #24 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #25 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #26 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #27 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #28 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #29 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #30 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #31 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #32 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #33 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #34 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #35 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #36 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #37 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #38 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #39 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #40 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #41 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #42 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #43 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #44 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #45 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #46 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #47 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #48 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #49 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #50 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #51 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #52 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #53 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #54 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #55 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #56 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #57 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #58 _RootZone.runUnary (dart:async/zone.dart:1379:54) #59 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #60 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #61 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #62 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #63 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #64 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #65 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #66 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/inference_test FAILED: dart2analyzer-none release_x64 language_2/spread_collections/map_set_ambiguity_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 812ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\spread_collections\map_set_ambiguity_test.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/map_set_ambiguity_test FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 968ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\spread_collections\const_test.dart exit code: 1 stderr: WARNING: Flag "set-literals" is no longer required. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|156|26|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|175|43|8|The element type 'Set<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|45|47|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|180|63|11|The element type 'Set<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|33|47|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|149|40|8|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|37|58|7|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|57|25|23|The element type 'List<Symbol>' can't be assigned to the list type 'Symbol'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|164|25|23|The element type 'Set<Symbol>' can't be assigned to the set type 'Symbol'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|142|46|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|174|43|11|The element type 'Set<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|53|66|8|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|152|65|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|49|55|8|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|45|31|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|146|58|7|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|45|22|37|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|53|57|21|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|139|43|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|30|44|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|156|55|8|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|152|49|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|37|40|7|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|146|40|7|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|49|26|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|41|38|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|37|22|7|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|175|59|8|The element type 'Set<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|27|41|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|136|40|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|53|25|8|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|149|56|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|152|40|37|The element type 'Set<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|41|22|8|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|146|22|7|The element type 'List<int>' can't be assigned to the set type 'int'. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_test FAILED: dart2analyzer-none release_x64 language_2/spread_collections/syntax_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 906ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\spread_collections\syntax_test.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #3 ArgumentListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:377:16) #4 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #5 UnifyingAstVisitor.visitArgumentList (package:analyzer/dart/ast/visitor.dart:3190:45) #6 ResolverVisitor.visitArgumentList (package:analyzer/src/generated/resolver.dart:3943:11) #7 ArgumentListImpl.accept (package:analyzer/src/dart/ast/ast.dart:373:49) #8 ResolverVisitor.visitMethodInvocation (package:analyzer/src/generated/resolver.dart:4762:24) #9 MethodInvocationImpl.accept (package:analyzer/src/dart/ast/ast.dart:7489:49) #10 ExpressionStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:3795:18) #11 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #12 UnifyingAstVisitor.visitExpressionStatement (package:analyzer/dart/ast/visitor.dart:3297:59) #13 ExpressionStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:3791:49) #14 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #15 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #16 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #17 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #18 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #19 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #20 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #21 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #22 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #23 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #24 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #25 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #26 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #27 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #28 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #29 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #30 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #31 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #32 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #33 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #34 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #35 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #36 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #37 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #38 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #39 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #40 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #41 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #42 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #43 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #44 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #45 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #46 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #47 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #48 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #49 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #50 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #51 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #52 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #53 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #54 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #55 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #56 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #57 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #58 _RootZone.runUnary (dart:async/zone.dart:1379:54) #59 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #60 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #61 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #62 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #63 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #64 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #65 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #66 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/syntax_test FAILED: dart2analyzer-none release_x64 language_2/spread_collections/syntax_error_test/03 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 46ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\syntax_error_test_03.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/syntax_error_test/03 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/spread_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 01.000045s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\spread_collections\spread_test.dart exit code: 1 stderr: WARNING: Flag "set-literals" is no longer required. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|144|43|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|144|34|37|The element type 'Set<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|54|46|22|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|46|45|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|155|34|17|The element type 'List<num>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|49|69|8|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|138|34|7|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|46|36|37|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|40|16|7|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|147|67|8|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|135|40|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|166|40|17|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|141|50|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|43|52|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|179|32|25|The element type 'List<Equality>' can't be assigned to the set type 'Equality'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|36|42|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|132|37|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|141|34|8|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|43|36|8|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|57|36|17|The element type 'List<num>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|54|19|9|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|138|70|7|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|COMPILE_TIME_ERROR|STRONG_MODE_INVALID_CAST_LITERAL|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|121|39|34|The literal '<num, num>{1 : 1, 2 : 2, 3 : 3, 4 : 4}' with type 'Map<num, num>' isn't of expected type 'Map<int, int>'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|129|34|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|147|38|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|33|39|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|49|40|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|40|52|7|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|144|59|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|46|61|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|196|33|40|The element type 'List<Equality>' can't be assigned to the set type 'Equality'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|54|55|9|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|40|34|7|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|138|52|7|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|30|36|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|166|62|11|The element type 'List<int>' can't be assigned to the set type 'int'. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/spread_test FAILED: dart2analyzer-none release_x64 language_2/spread_collections/syntax_error_test/06 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 93ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\syntax_error_test_06.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/syntax_error_test/06 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/02 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 11ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\type_error_test_02.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/type_error_test/02 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/01 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 22ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\type_error_test_01.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/type_error_test/01 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/03 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 9ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\type_error_test_03.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/type_error_test/03 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/05 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 8ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\type_error_test_05.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/type_error_test/05 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/syntax_error_test/04 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 203ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\syntax_error_test_04.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/syntax_error_test/04 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/syntax_error_test/05 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 205ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\syntax_error_test_05.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/syntax_error_test/05 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/00 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 109ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\type_error_test_00.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/type_error_test/00 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/04 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 80ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\type_error_test_04.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 AsExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:467:18) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitAsExpression (package:analyzer/dart/ast/visitor.dart:3193:45) #5 AsExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:463:49) #6 ParenthesizedExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:8258:18) #7 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #8 UnifyingAstVisitor.visitParenthesizedExpression (package:analyzer/dart/ast/visitor.dart:3451:7) #9 ResolverVisitor.visitParenthesizedExpression (package:analyzer/src/generated/resolver.dart:4806:11) #10 ParenthesizedExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:8254:15) #11 SpreadElementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:9573:18) #12 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #13 UnifyingAstVisitor.visitSpreadElement (package:analyzer/dart/ast/visitor.dart:3505:47) #14 SpreadElementImpl.accept (package:analyzer/src/dart/ast/ast.dart:9568:20) #15 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #16 SetOrMapLiteralImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:9087:15) #17 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #18 UnifyingAstVisitor.visitSetOrMapLiteral (package:analyzer/dart/ast/visitor.dart:3490:51) #19 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4947:11) #20 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #21 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #22 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #23 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #24 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #25 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #26 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #27 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #28 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #29 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #30 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #31 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #32 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #33 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #34 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #35 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #36 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #37 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #38 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #39 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #40 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #41 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #42 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #43 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #44 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #45 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #46 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #47 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #48 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #49 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #50 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #51 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #52 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #53 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #54 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #55 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #56 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #57 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #58 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #59 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #60 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #61 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #62 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #63 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #64 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #65 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #66 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #67 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #68 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #69 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #70 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #71 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #72 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #73 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #74 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #75 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #76 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #77 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #78 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #79 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #80 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #81 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #82 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #83 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #84 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #85 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #86 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #87 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #88 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #89 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #90 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #91 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #92 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #93 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #94 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #95 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #96 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #97 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #98 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #99 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #100 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #101 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #102 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #103 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #104 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #105 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #106 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #107 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #108 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #109 _StreamController._add (dart:async/stream_controller.dart:640:7) #110 _StreamController.add (dart:async/stream_controller.dart:586:5) #111 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #112 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #113 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #114 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #115 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #116 _StreamController._add (dart:async/stream_controller.dart:640:7) #117 _StreamController.add (dart:async/stream_controller.dart:586:5) #118 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #119 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #120 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #121 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #122 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #123 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/type_error_test/04 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/02 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 158ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_02.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_error_test/02 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/07 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 171ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_07.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_error_test/07 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/10 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 15ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_10.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_error_test/10 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/08 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 28ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_08.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_error_test/08 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/06 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 218ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_06.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_error_test/06 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/12 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 54ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_12.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_error_test/12 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/05 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 241ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_05.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_error_test/05 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/13 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 64ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_13.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_error_test/13 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/14 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 71ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_14.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_error_test/14 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/map_set_ambiguity_error_test/00 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 50ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\map_set_ambiguity_error_test_00.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/map_set_ambiguity_error_test/00 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/map_set_ambiguity_error_test/01 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 47ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\map_set_ambiguity_error_test_01.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/map_set_ambiguity_error_test/01 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/16 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 72ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_16.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_error_test/16 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/map_set_ambiguity_error_test/03 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 42ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\map_set_ambiguity_error_test_03.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/map_set_ambiguity_error_test/03 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/map_set_ambiguity_error_test/none Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 88ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\map_set_ambiguity_error_test_none.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/map_set_ambiguity_error_test/none FAILED: dart2analyzer-none release_x64 language_2/spread_collections/map_set_ambiguity_error_test/04 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 45ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\map_set_ambiguity_error_test_04.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/map_set_ambiguity_error_test/04 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/map_set_ambiguity_error_test/02 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 58ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\map_set_ambiguity_error_test_02.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/map_set_ambiguity_error_test/02 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/map_set_ambiguity_error_test/05 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 42ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\map_set_ambiguity_error_test_05.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/map_set_ambiguity_error_test/05 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/map_set_ambiguity_error_test/06 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 43ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\map_set_ambiguity_error_test_06.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/map_set_ambiguity_error_test/06 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/map_set_ambiguity_error_test/07 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 43ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\map_set_ambiguity_error_test_07.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/map_set_ambiguity_error_test/07 === Failure summary: FAILED: dart2analyzer-none release_x64 language_2/const_constructor3_test/04 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 15ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\const_constructor3_test_04.dart exit code: 0 --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/const_constructor3_test/04 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/for_variable_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 01.000109s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\control_flow_collections\for_variable_test.dart exit code: 1 stderr: WARNING: Flag "set-literals" is no longer required. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\for_variable_test.dart|197|39|61|The element type 'List<String>' can't be assigned to the list type 'String'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\for_variable_test.dart|163|77|91|The element type 'List<String>' can't be assigned to the list type 'String'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\for_variable_test.dart|49|54|1|The element type 'int' can't be assigned to the list type '() → int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\for_variable_test.dart|42|52|1|The element type 'int' can't be assigned to the list type '() → int'. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/for_variable_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/for_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 01.000250s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\control_flow_collections\for_test.dart exit code: 1 stderr: WARNING: Flag "set-literals" is no longer required. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\for_test.dart|164|43|19|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|ARGUMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\for_test.dart|135|20|3|The argument type 'List<int>' can't be assigned to the parameter type 'Map'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\for_test.dart|47|43|19|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|ARGUMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\for_test.dart|137|20|3|The argument type 'List<int>' can't be assigned to the parameter type 'Map'. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/for_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_inference_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 01.000315s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\control_flow_collections\if_inference_test.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #3 ArgumentListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:377:16) #4 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #5 UnifyingAstVisitor.visitArgumentList (package:analyzer/dart/ast/visitor.dart:3190:45) #6 ResolverVisitor.visitArgumentList (package:analyzer/src/generated/resolver.dart:3943:11) #7 ArgumentListImpl.accept (package:analyzer/src/dart/ast/ast.dart:373:49) #8 ResolverVisitor.visitMethodInvocation (package:analyzer/src/generated/resolver.dart:4762:24) #9 MethodInvocationImpl.accept (package:analyzer/src/dart/ast/ast.dart:7489:49) #10 ExpressionStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:3795:18) #11 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #12 UnifyingAstVisitor.visitExpressionStatement (package:analyzer/dart/ast/visitor.dart:3297:59) #13 ExpressionStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:3791:49) #14 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #15 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #16 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #17 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #18 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #19 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #20 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #21 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #22 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #23 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #24 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #25 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #26 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #27 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #28 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #29 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #30 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #31 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #32 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #33 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #34 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #35 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #36 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #37 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #38 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #39 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #40 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #41 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #42 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #43 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #44 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #45 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #46 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #47 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #48 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #49 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #50 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #51 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #52 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #53 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #54 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #55 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #56 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #57 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #58 _RootZone.runUnary (dart:async/zone.dart:1379:54) #59 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #60 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #61 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #62 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #63 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #64 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #65 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #66 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_inference_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 01.000348s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\control_flow_collections\if_const_test.dart exit code: 1 stderr: WARNING: Flag "set-literals" is no longer required. ERROR|SYNTACTIC_ERROR|EXPECTED_TOKEN|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|235|1|1|Expected to find ')'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|65|32|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|195|43|7|Evaluation of this constant expression throws an exception. ERROR|COMPILE_TIME_ERROR|NON_CONSTANT_MAP_ELEMENT|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|131|40|24|The elements in a const map literal must be constant. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|212|56|7|Evaluation of this constant expression throws an exception. ERROR|STATIC_WARNING|EQUAL_KEYS_IN_MAP|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|243|5|1|Two keys in a map literal can't be equal. ERROR|SYNTACTIC_ERROR|EXPECTED_TOKEN|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|184|50|3|Expected to find ','. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|171|66|8|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|EQUAL_KEYS_IN_MAP|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|241|16|1|Two keys in a map literal can't be equal. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|206|19|7|Evaluation of this constant expression throws an exception. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|167|58|3|The element type 'Set<int>' can't be assigned to the set type 'int'. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|202|19|7|Evaluation of this constant expression throws an exception. ERROR|SYNTACTIC_ERROR|EXPECTED_TOKEN|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|131|40|3|Expected to find ','. ERROR|COMPILE_TIME_ERROR|NON_CONSTANT_LIST_ELEMENT|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|78|51|21|The values in a const list literal must be constants. ERROR|COMPILE_TIME_ERROR|NON_CONSTANT_MAP_ELEMENT|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|127|52|24|The elements in a const map literal must be constant. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|166|66|6|The element type 'Map<int, int>' can't be assigned to the set type 'int'. ERROR|COMPILE_TIME_ERROR|NON_CONSTANT_SET_ELEMENT|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|184|50|21|The values in a const set literal must be constants. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|212|36|7|Evaluation of this constant expression throws an exception. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|65|66|8|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|165|58|3|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|SYNTACTIC_ERROR|EXPECTED_TOKEN|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|78|51|3|Expected to find ','. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|210|43|7|Evaluation of this constant expression throws an exception. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|205|25|7|Evaluation of this constant expression throws an exception. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|197|56|7|Evaluation of this constant expression throws an exception. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|171|32|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|COMPILE_TIME_ERROR|NON_CONSTANT_LIST_ELEMENT|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|75|48|21|The values in a const list literal must be constants. ERROR|COMPILE_TIME_ERROR|NON_CONSTANT_SET_ELEMENT|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|181|47|21|The values in a const set literal must be constants. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|201|16|7|Evaluation of this constant expression throws an exception. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_const_test.dart|197|36|7|Evaluation of this constant expression throws an exception. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/for_inference_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 01.000422s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\control_flow_collections\for_inference_test.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #3 ArgumentListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:377:16) #4 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #5 UnifyingAstVisitor.visitArgumentList (package:analyzer/dart/ast/visitor.dart:3190:45) #6 ResolverVisitor.visitArgumentList (package:analyzer/src/generated/resolver.dart:3943:11) #7 ArgumentListImpl.accept (package:analyzer/src/dart/ast/ast.dart:373:49) #8 ResolverVisitor.visitMethodInvocation (package:analyzer/src/generated/resolver.dart:4762:24) #9 MethodInvocationImpl.accept (package:analyzer/src/dart/ast/ast.dart:7489:49) #10 ExpressionStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:3795:18) #11 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #12 UnifyingAstVisitor.visitExpressionStatement (package:analyzer/dart/ast/visitor.dart:3297:59) #13 ExpressionStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:3791:49) #14 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #15 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #16 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #17 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #18 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #19 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #20 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #21 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #22 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #23 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #24 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #25 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #26 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #27 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #28 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #29 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #30 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #31 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #32 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #33 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #34 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #35 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #36 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #37 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #38 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #39 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #40 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #41 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #42 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #43 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #44 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #45 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #46 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #47 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #48 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #49 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #50 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #51 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #52 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #53 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #54 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #55 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #56 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #57 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #58 _RootZone.runUnary (dart:async/zone.dart:1379:54) #59 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #60 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #61 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #62 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #63 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #64 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #65 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #66 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/for_inference_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 249ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\control_flow_collections\map_set_ambiguity_test.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 296ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\control_flow_collections\if_test.dart exit code: 1 stderr: WARNING: Flag "set-literals" is no longer required. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_test.dart|165|26|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|SYNTACTIC_ERROR|EXPECTED_TOKEN|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_test.dart|177|44|3|Expected to find ','. ERROR|STATIC_WARNING|EQUAL_KEYS_IN_MAP|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_test.dart|203|5|1|Two keys in a map literal can't be equal. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_test.dart|62|26|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_test.dart|62|60|8|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|EQUAL_KEYS_IN_MAP|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_test.dart|201|15|1|Two keys in a map literal can't be equal. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_test.dart|165|60|8|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|SYNTACTIC_ERROR|EXPECTED_TOKEN|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_test.dart|74|46|3|Expected to find ','. ERROR|SYNTACTIC_ERROR|EXPECTED_TOKEN|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\if_test.dart|125|52|3|Expected to find ','. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/syntax_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 218ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\control_flow_collections\syntax_test.dart exit code: 1 stderr: WARNING: Flag "set-literals" is no longer required. ERROR|SYNTACTIC_ERROR|MISSING_IDENTIFIER|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\syntax_test.dart|27|48|4|Expected an identifier. ERROR|COMPILE_TIME_ERROR|DUPLICATE_DEFINITION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\syntax_test.dart|44|7|1|The name 'a' is already defined. ERROR|SYNTACTIC_ERROR|MISSING_IDENTIFIER|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\syntax_test.dart|29|49|4|Expected an identifier. ERROR|COMPILE_TIME_ERROR|DUPLICATE_DEFINITION|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\syntax_test.dart|38|7|1|The name 'a' is already defined. ERROR|SYNTACTIC_ERROR|MISSING_IDENTIFIER|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\control_flow_collections\\syntax_test.dart|28|48|4|Expected an identifier. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/syntax_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/syntax_error_test/09 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 31ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\syntax_error_test_09.dart exit code: 0 --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/syntax_error_test/09 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/syntax_error_test/12 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 31ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\syntax_error_test_12.dart exit code: 0 --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/syntax_error_test/12 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/type_error_test/00 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 156ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\type_error_test_00.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/type_error_test/00 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/type_error_test/01 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 140ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\type_error_test_01.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/type_error_test/01 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/type_error_test/02 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 176ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\type_error_test_02.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/type_error_test/02 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/02 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 171ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_02.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/02 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/07 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 15ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_07.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/07 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/08 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 31ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_08.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/08 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/10 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 46ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_10.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/10 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/19 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 19ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_19.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/19 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/22 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 20ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_22.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/22 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/20 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 21ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_20.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/20 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/21 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 23ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_21.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/21 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/28 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 14ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_28.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/28 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/33 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 16ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_33.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/33 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/34 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 18ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_34.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/34 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/37 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 7ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_37.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/37 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/38 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 6ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_38.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/38 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/35 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 19ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_35.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/35 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/39 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 5ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_39.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/39 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_error_test/36 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 33ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_36.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/if_const_error_test/36 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/05 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 176ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_05.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/05 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/04 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 234ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_04.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/04 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/02 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 238ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_02.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/02 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/01 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 267ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_01.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/01 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/06 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 53ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_06.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/06 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/00 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 285ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_00.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/00 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/08 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 41ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_08.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/08 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/07 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 49ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_07.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/07 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/09 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 40ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_09.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/09 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/11 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 41ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_11.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/11 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/13 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 36ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_13.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/13 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/10 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 75ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_10.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/10 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/12 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 55ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_12.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/12 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/14 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 56ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_14.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/14 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/15 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 51ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_15.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/15 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/03 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 953ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_03.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/03 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/none Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 995ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\control_flow_collections\map_set_ambiguity_error_test_none.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/control_flow_collections/map_set_ambiguity_error_test/none FAILED: dart2analyzer-none release_x64 language_2/spread_collections/inference_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 796ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\spread_collections\inference_test.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #3 ArgumentListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:377:16) #4 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #5 UnifyingAstVisitor.visitArgumentList (package:analyzer/dart/ast/visitor.dart:3190:45) #6 ResolverVisitor.visitArgumentList (package:analyzer/src/generated/resolver.dart:3943:11) #7 ArgumentListImpl.accept (package:analyzer/src/dart/ast/ast.dart:373:49) #8 ResolverVisitor.visitMethodInvocation (package:analyzer/src/generated/resolver.dart:4762:24) #9 MethodInvocationImpl.accept (package:analyzer/src/dart/ast/ast.dart:7489:49) #10 ExpressionStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:3795:18) #11 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #12 UnifyingAstVisitor.visitExpressionStatement (package:analyzer/dart/ast/visitor.dart:3297:59) #13 ExpressionStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:3791:49) #14 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #15 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #16 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #17 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #18 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #19 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #20 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #21 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #22 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #23 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #24 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #25 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #26 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #27 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #28 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #29 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #30 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #31 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #32 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #33 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #34 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #35 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #36 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #37 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #38 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #39 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #40 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #41 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #42 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #43 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #44 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #45 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #46 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #47 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #48 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #49 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #50 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #51 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #52 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #53 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #54 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #55 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #56 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #57 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #58 _RootZone.runUnary (dart:async/zone.dart:1379:54) #59 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #60 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #61 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #62 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #63 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #64 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #65 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #66 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/inference_test FAILED: dart2analyzer-none release_x64 language_2/spread_collections/map_set_ambiguity_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 812ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\spread_collections\map_set_ambiguity_test.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/map_set_ambiguity_test FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 968ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\spread_collections\const_test.dart exit code: 1 stderr: WARNING: Flag "set-literals" is no longer required. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|156|26|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|175|43|8|The element type 'Set<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|45|47|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|180|63|11|The element type 'Set<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|33|47|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|149|40|8|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|37|58|7|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|57|25|23|The element type 'List<Symbol>' can't be assigned to the list type 'Symbol'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|164|25|23|The element type 'Set<Symbol>' can't be assigned to the set type 'Symbol'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|142|46|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|174|43|11|The element type 'Set<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|53|66|8|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|152|65|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|49|55|8|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|45|31|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|146|58|7|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|45|22|37|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|53|57|21|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|139|43|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|30|44|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|156|55|8|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|152|49|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|37|40|7|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|146|40|7|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|49|26|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|41|38|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|37|22|7|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|175|59|8|The element type 'Set<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|27|41|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|136|40|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|53|25|8|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|149|56|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|152|40|37|The element type 'Set<int>' can't be assigned to the set type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|41|22|8|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\const_test.dart|146|22|7|The element type 'List<int>' can't be assigned to the set type 'int'. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_test FAILED: dart2analyzer-none release_x64 language_2/spread_collections/syntax_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 906ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\spread_collections\syntax_test.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #3 ArgumentListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:377:16) #4 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #5 UnifyingAstVisitor.visitArgumentList (package:analyzer/dart/ast/visitor.dart:3190:45) #6 ResolverVisitor.visitArgumentList (package:analyzer/src/generated/resolver.dart:3943:11) #7 ArgumentListImpl.accept (package:analyzer/src/dart/ast/ast.dart:373:49) #8 ResolverVisitor.visitMethodInvocation (package:analyzer/src/generated/resolver.dart:4762:24) #9 MethodInvocationImpl.accept (package:analyzer/src/dart/ast/ast.dart:7489:49) #10 ExpressionStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:3795:18) #11 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #12 UnifyingAstVisitor.visitExpressionStatement (package:analyzer/dart/ast/visitor.dart:3297:59) #13 ExpressionStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:3791:49) #14 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #15 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #16 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #17 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #18 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #19 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #20 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #21 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #22 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #23 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #24 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #25 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #26 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #27 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #28 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #29 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #30 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #31 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #32 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #33 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #34 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #35 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #36 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #37 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #38 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #39 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #40 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #41 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #42 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #43 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #44 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #45 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #46 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #47 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #48 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #49 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #50 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #51 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #52 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #53 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #54 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #55 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #56 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #57 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #58 _RootZone.runUnary (dart:async/zone.dart:1379:54) #59 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #60 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #61 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #62 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #63 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #64 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #65 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #66 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/syntax_test FAILED: dart2analyzer-none release_x64 language_2/spread_collections/syntax_error_test/03 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 46ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\syntax_error_test_03.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/syntax_error_test/03 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/spread_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 01.000045s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\tests\language_2\spread_collections\spread_test.dart exit code: 1 stderr: WARNING: Flag "set-literals" is no longer required. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|144|43|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|144|34|37|The element type 'Set<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|54|46|22|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|46|45|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|155|34|17|The element type 'List<num>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|49|69|8|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|138|34|7|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|46|36|37|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|40|16|7|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|147|67|8|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|135|40|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|166|40|17|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|141|50|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|43|52|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|179|32|25|The element type 'List<Equality>' can't be assigned to the set type 'Equality'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|36|42|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|132|37|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|141|34|8|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|43|36|8|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|57|36|17|The element type 'List<num>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|54|19|9|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|138|70|7|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|COMPILE_TIME_ERROR|STRONG_MODE_INVALID_CAST_LITERAL|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|121|39|34|The literal '<num, num>{1 : 1, 2 : 2, 3 : 3, 4 : 4}' with type 'Map<num, num>' isn't of expected type 'Map<int, int>'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|129|34|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|147|38|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|33|39|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|49|40|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|40|52|7|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|144|59|11|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|46|61|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|196|33|40|The element type 'List<Equality>' can't be assigned to the set type 'Equality'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|54|55|9|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|40|34|7|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|138|52|7|The element type 'List<int>' can't be assigned to the set type 'int'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|30|36|11|The element type 'List<int>' can't be assigned to the list type 'int'. ERROR|STATIC_WARNING|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|C:\\b\\s\\w\\ir\\cache\\builder\\sdk\\tests\\language_2\\spread_collections\\spread_test.dart|166|62|11|The element type 'List<int>' can't be assigned to the set type 'int'. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/spread_test FAILED: dart2analyzer-none release_x64 language_2/spread_collections/syntax_error_test/06 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 93ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\syntax_error_test_06.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/syntax_error_test/06 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/02 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 11ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\type_error_test_02.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/type_error_test/02 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/01 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 22ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\type_error_test_01.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/type_error_test/01 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/03 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 9ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\type_error_test_03.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/type_error_test/03 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/05 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 8ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\type_error_test_05.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/type_error_test/05 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/syntax_error_test/04 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 203ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\syntax_error_test_04.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/syntax_error_test/04 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/syntax_error_test/05 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 205ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\syntax_error_test_05.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #67 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #68 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #69 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #70 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) #9 _RootZone.runUnary (dart:async/zone.dart:1379:54) #10 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #12 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #13 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #14 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #16 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #17 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/syntax_error_test/05 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/00 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 109ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\type_error_test_00.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/type_error_test/00 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/04 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 80ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\type_error_test_04.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 AsExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:467:18) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitAsExpression (package:analyzer/dart/ast/visitor.dart:3193:45) #5 AsExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:463:49) #6 ParenthesizedExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:8258:18) #7 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #8 UnifyingAstVisitor.visitParenthesizedExpression (package:analyzer/dart/ast/visitor.dart:3451:7) #9 ResolverVisitor.visitParenthesizedExpression (package:analyzer/src/generated/resolver.dart:4806:11) #10 ParenthesizedExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:8254:15) #11 SpreadElementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:9573:18) #12 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #13 UnifyingAstVisitor.visitSpreadElement (package:analyzer/dart/ast/visitor.dart:3505:47) #14 SpreadElementImpl.accept (package:analyzer/src/dart/ast/ast.dart:9568:20) #15 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #16 SetOrMapLiteralImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:9087:15) #17 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #18 UnifyingAstVisitor.visitSetOrMapLiteral (package:analyzer/dart/ast/visitor.dart:3490:51) #19 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4947:11) #20 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #21 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #22 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #23 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #24 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #25 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #26 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #27 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #28 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #29 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #30 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #31 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #32 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #33 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #34 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #35 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #36 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #37 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #38 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #39 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #40 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #41 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #42 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #43 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #44 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #45 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #46 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #47 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #48 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #49 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #50 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #51 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #52 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #53 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #54 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #55 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #56 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #57 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #58 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #59 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #60 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #61 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #62 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #63 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #64 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #65 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #66 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #67 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #68 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #69 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #70 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #71 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #72 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #73 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #74 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #75 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #76 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #77 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #78 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #79 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #80 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #81 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #82 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #83 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #84 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #85 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #86 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #87 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #88 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #89 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #90 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #91 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #92 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #93 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #94 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #95 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #96 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #97 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #98 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #99 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #100 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #101 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #102 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #103 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #104 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #105 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #106 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #107 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #108 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #109 _StreamController._add (dart:async/stream_controller.dart:640:7) #110 _StreamController.add (dart:async/stream_controller.dart:586:5) #111 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #112 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #113 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #114 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #115 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #116 _StreamController._add (dart:async/stream_controller.dart:640:7) #117 _StreamController.add (dart:async/stream_controller.dart:586:5) #118 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #119 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #120 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #121 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #122 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #123 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/type_error_test/04 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/02 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 158ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_02.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_error_test/02 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/07 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 171ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_07.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_error_test/07 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/10 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 15ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_10.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_error_test/10 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/08 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 28ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_08.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_error_test/08 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/06 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 218ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_06.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_error_test/06 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/12 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 54ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_12.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_error_test/12 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/05 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 241ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_05.dart exit code: 0 stderr: WARNING: Flag "set-literals" is no longer required. --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_error_test/05 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/13 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 64ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_13.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_error_test/13 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/14 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 71ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_14.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #38 UnifyingAstVisitor.visitFunctionDeclaration (package:analyzer/dart/ast/visitor.dart:3333:59) #39 ScopedVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:5919:11) #40 ResolverVisitor.visitFunctionDeclarationInScope (package:analyzer/src/generated/resolver.dart:4515:11) #41 ScopedVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:5912:7) #42 ResolverVisitor.visitFunctionDeclaration (package:analyzer/src/generated/resolver.dart:4506:13) #43 FunctionDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4944:49) #44 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:4147:23) #45 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2170:49) #46 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:652:10) #47 LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:127:7) #48 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/lib/compact_hash.dart:367:8) #49 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:126:11) #50 LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:98:14) #51 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15) #52 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:97:43) #53 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1438:63) #54 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #55 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #56 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #57 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #58 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #59 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #60 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #61 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #62 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #63 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #64 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #65 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #66 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #67 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #68 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #69 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #70 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #71 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #72 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #73 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #74 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #75 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #76 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #77 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #78 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #79 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #80 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #81 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #82 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #83 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #84 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #85 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #86 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #87 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #88 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #89 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #90 _StreamController._add (dart:async/stream_controller.dart:640:7) #91 _StreamController.add (dart:async/stream_controller.dart:586:5) #92 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #93 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #94 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #95 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #96 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #97 _StreamController._add (dart:async/stream_controller.dart:640:7) #98 _StreamController.add (dart:async/stream_controller.dart:586:5) #99 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #100 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #101 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #102 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #103 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #104 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1474:9) #1 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15) #2 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1416:20) #3 AnalysisDriver.getErrors (package:analyzer/src/dart/analysis/driver.dart:668:41) <asynchronous suspension> #4 AnalyzerImpl.prepareErrors (package:analyzer_cli/src/analyzer_impl.dart:129:58) <asynchronous suspension> #5 AnalyzerImpl._analyze (package:analyzer_cli/src/analyzer_impl.dart:169:11) <asynchronous suspension> #6 AnalyzerImpl.analyze (package:analyzer_cli/src/analyzer_impl.dart:105:18) <asynchronous suspension> #7 Driver._runAnalyzer (package:analyzer_cli/src/driver.dart:755:21) #8 Driver._analyzeAllImpl (package:analyzer_cli/src/driver.dart:404:40) <asynchronous suspension> #9 Driver._analyzeAll (package:analyzer_cli/src/driver.dart:255:20) <asynchronous suspension> #10 Driver.start.<anonymous closure> (package:analyzer_cli/src/driver.dart:203:22) <asynchronous suspension> #11 BatchRunner.runAsBatch.<anonymous closure> (package:analyzer_cli/src/batch_mode.dart:54:45) <asynchronous suspension> #12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #15 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #16 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #17 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #18 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:150:13) #19 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:125:5) #20 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:165:5) #21 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #22 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #23 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #24 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #25 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:68:11) #26 _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11) #27 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11) #28 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7) #29 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:314:20) #30 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:307:5) #31 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:74:18) #32 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #33 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #36 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #37 _StreamController._add (dart:async/stream_controller.dart:640:7) #38 _StreamController.add (dart:async/stream_controller.dart:586:5) #39 _Socket._onData (dart:io/runtime/bin/socket_patch.dart:1774:41) #40 _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10) #41 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #42 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #43 _SyncStreamController._sendData (dart:async/stream_controller.dart:764:19) #44 _StreamController._add (dart:async/stream_controller.dart:640:7) #45 _StreamController.add (dart:async/stream_controller.dart:586:5) #46 new _RawSocket.<anonymous closure> (dart:io/runtime/bin/socket_patch.dart:1323:33) #47 _NativeSocket.issueReadEvent.issue (dart:io/runtime/bin/socket_patch.dart:844:14) #48 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #49 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #50 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #51 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n analyzer-asserts-win language_2/spread_collections/const_error_test/14 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/map_set_ambiguity_error_test/00 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 50ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages --format=machine --no-hints C:\b\s\w\ir\cache\builder\sdk\out\ReleaseX64\generated_tests\language_2\spread_collections\map_set_ambiguity_error_test_00.dart exit code: 253 stderr: WARNING: Flag "set-literals" is no longer required. UnimplementedError #0 ResolverVisitor.visitSetOrMapLiteral (package:analyzer/src/generated/resolver.dart:4926:9) #1 SetOrMapLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:9082:49) #2 VariableDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10909:19) #3 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #4 UnifyingAstVisitor.visitVariableDeclaration (package:analyzer/dart/ast/visitor.dart:3555:59) #5 ScopedVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:6194:11) #6 ResolverVisitor.visitVariableDeclaration (package:analyzer/src/generated/resolver.dart:4992:11) #7 VariableDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:10903:49) #8 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #9 VariableDeclarationListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10997:16) #10 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #11 UnifyingAstVisitor.visitVariableDeclarationList (package:analyzer/dart/ast/visitor.dart:3559:7) #12 ResolverVisitor.visitVariableDeclarationList (package:analyzer/src/generated/resolver.dart:5015:11) #13 VariableDeclarationListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10991:15) #14 VariableDeclarationStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:11044:20) #15 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #16 UnifyingAstVisitor.visitVariableDeclarationStatement (package:analyzer/dart/ast/visitor.dart:3563:7) #17 VariableDeclarationStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:11040:15) #18 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7931:20) #19 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1140:17) #20 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #21 UnifyingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:3211:31) #22 ScopedVisitor.visitBlock (package:analyzer/src/generated/resolver.dart:5607:13) #23 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1136:49) #24 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1095:13) #25 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #26 UnifyingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:3214:55) #27 ScopedVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:5618:13) #28 ResolverVisitor.visitBlockFunctionBody (package:analyzer/src/generated/resolver.dart:4052:13) #29 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1091:49) #30 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:5102:12) #31 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:4798:10) #32 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:3340:57) #33 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:5926:13) #34 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:4536:13) #35 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5096:49) #36 FunctionDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:4951:26) #37 Reso