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

python -u /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-mac --copy-coredumps --output_directory /b/s/w/ir/tmp/t/tmpxSaQSL in dir /b/s/w/ir/cache/builder/sdk: allow_subannotations: False base_name: 'analyze tests enable-asserts' cmd: ['python', '-u', '/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-mac', '--copy-coredumps', '--output_directory', '/b/s/w/ir/tmp/t/tmpxSaQSL'] cwd: '/b/s/w/ir/cache/builder/sdk' env: {'BUILDBOT_BUILDERNAME': 'analyzer-mac-release-try'} env_prefixes: {} env_suffixes: {'PATH': '/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: Apple_PubSub_Socket_Render: /private/tmp/com.apple.launchd.RWUwt4urtV/Render BOTO_CONFIG: /b/s/w/ir/tmp/gsutil_task/.boto BUILDBOT_BUILDERNAME: analyzer-mac-release-try BUILDBUCKET_EXPERIMENTAL: FALSE CIPD_CACHE_DIR: /b/s/cipd_cache/cache CIPD_PROTOCOL: v2 DEVSHELL_CLIENT_PORT: 57944 DOCKER_CONFIG: /b/s/w/ir/tmp/docker_cfg_task DOCKER_TMPDIR: /b/s/w/ir/tmp/docker_tmp_task GIT_CONFIG_NOSYSTEM: 1 GIT_TERMINAL_PROMPT: 0 HOME: /Users/chrome-bot INFRA_GIT_WRAPPER_HOME: /b/s/w/ir/tmp/git_home_task LOGDOG_COORDINATOR_HOST: logs.chromium.org LOGDOG_STREAM_PREFIX: buildbucket/cr-buildbucket.appspot.com/8920204788685344160 LOGDOG_STREAM_PROJECT: dart LOGDOG_STREAM_SERVER_PATH: unix:/b/s/w/ir/tmp/ld.sock LOGNAME: chrome-bot LUCI_CONTEXT: /b/s/w/it5RrZpO/luci_context.209631731 MAC_CHROMIUM_TMPDIR: /b/s/w/ir/tmp/t NO_GCE_CHECK: False PATH: /b/s/w/ir/cipd_bin_packages:/b/s/w/ir/cipd_bin_packages/bin:/b/s/cipd_cache/bin:/opt/local/bin:/opt/local/sbin:/usr/local/sbin:/usr/local/git/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/b/s/w/ir/kitchen-checkout/depot_tools PWD: /b/s/w/ir/k PYTHONIOENCODING: UTF-8 PYTHONUNBUFFERED: 1 SHELL: /bin/bash SHLVL: 1 SSH_AUTH_SOCK: /private/tmp/com.apple.launchd.hEmQk0SfA5/Listeners SWARMING_BOT_ID: vm372-m9 SWARMING_HEADLESS: 1 SWARMING_SERVER: https://chromium-swarm.appspot.com SWARMING_TASK_ID: 4351101cd4950411 TEMP: /b/s/w/ir/tmp/t TEMPDIR: /b/s/w/ir/tmp/t TMP: /b/s/w/ir/tmp/t TMPDIR: /b/s/w/ir/tmp/t USER: chrome-bot VERSIONER_PYTHON_PREFER_32_BIT: no VERSIONER_PYTHON_VERSION: 2.7 VPYTHON_VIRTUALENV_ROOT: /b/s/w/ir/cache/vpython XPC_FLAGS: 0x0 XPC_SERVICE_NAME: 0 _: /b/s/w/ir/cipd_bin_packages/vpython __CF_USER_TEXT_ENCODING: 0x1F4:0x0:0x0 INFO: Core dump archiving is activated tools/testing/dart/main.dart:1: Warning: Interpreting this as package URI, 'package:test_dart/main.dart'. Test configurations: analyzer-asserts-mac(architecture: x64, compiler: dart2analyzer, mode: release, runtime: none, system: mac, 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-mac(architecture: x64, compiler: dart2analyzer, mode: release, runtime: none, system: mac, vm-options: [], timeout: null, enable-asserts, preview-dart-2, use-sdk) Suites tested: observatory_ui Total: 10066 tests * 476 tests will be skipped (157 skipped by design) * 21 tests are expected to be flaky but not crash * 2 tests are expected to flaky crash * 9404 tests are expected to pass * 0 tests are expected to fail that we won't fix * 158 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 35ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/const_constructor3_test_04.dart exit code: 0 --- Re-run this test: python tools/test.py -n analyzer-asserts-mac language_2/const_constructor3_test/04 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/for_inference_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 01.000157s): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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-mac language_2/control_flow_collections/for_inference_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 01.000169s): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|/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|SYNTACTIC_ERROR|EXPECTED_TOKEN|/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|/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|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|/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|COMPILE_TIME_ERROR|NON_CONSTANT_SET_ELEMENT|/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|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|CONST_EVAL_THROWS_EXCEPTION|/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. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|/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|/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|SYNTACTIC_ERROR|EXPECTED_TOKEN|/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|/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|STATIC_WARNING|EQUAL_KEYS_IN_MAP|/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|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|/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|COMPILE_TIME_ERROR|NON_CONSTANT_MAP_ELEMENT|/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|STATIC_WARNING|EQUAL_KEYS_IN_MAP|/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|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|SYNTACTIC_ERROR|EXPECTED_TOKEN|/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|/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|/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|/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|/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|SYNTACTIC_ERROR|EXPECTED_TOKEN|/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|/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|/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|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|/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|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|/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|/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'. --- Re-run this test: python tools/test.py -n analyzer-asserts-mac language_2/control_flow_collections/if_const_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_inference_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 01.000192s): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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-mac language_2/control_flow_collections/if_inference_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/for_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 01.000227s): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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|ARGUMENT_TYPE_NOT_ASSIGNABLE|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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'. --- Re-run this test: python tools/test.py -n analyzer-asserts-mac language_2/control_flow_collections/for_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/for_variable_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 01.000350s): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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|/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|/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|/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'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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'. --- Re-run this test: python tools/test.py -n analyzer-asserts-mac language_2/control_flow_collections/for_variable_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/syntax_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 169ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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|/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|/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|/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|/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|/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-mac language_2/control_flow_collections/syntax_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 204ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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-mac 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 332ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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|EQUAL_KEYS_IN_MAP|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|/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|/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|/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-mac language_2/control_flow_collections/if_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 34ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 24ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 95ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 100ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 122ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 163ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/if_const_error_test/02 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 24ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/if_const_error_test/08 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 38ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/if_const_error_test/07 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 32ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 29ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/if_const_error_test/19 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 28ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 26ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 21ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/if_const_error_test/28 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 42ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/if_const_error_test/22 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 25ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 26ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 14ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 16ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/if_const_error_test/38 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 16ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/if_const_error_test/39 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 63ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/if_const_error_test/35 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/none Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 122ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/map_set_ambiguity_error_test/none 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 121ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/map_set_ambiguity_error_test/00 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 175ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/06 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 33ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/01 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 149ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/05 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 47ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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) <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-mac 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/10 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 29ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/09 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 52ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/08 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 56ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/11 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 47ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/12 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 47ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/13 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 45ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/14 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 34ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 33ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/07 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 185ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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) #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-mac 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/03 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 792ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/02 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 802ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/04 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 867ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/map_set_ambiguity_error_test/04 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 746ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|/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|/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|/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|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|/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|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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'. --- Re-run this test: python tools/test.py -n analyzer-asserts-mac language_2/spread_collections/const_test FAILED: dart2analyzer-none release_x64 language_2/spread_collections/inference_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 761ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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-mac language_2/spread_collections/inference_test FAILED: dart2analyzer-none release_x64 language_2/spread_collections/syntax_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 701ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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-mac language_2/spread_collections/syntax_test FAILED: dart2analyzer-none release_x64 language_2/spread_collections/map_set_ambiguity_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 795ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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-mac language_2/spread_collections/map_set_ambiguity_test FAILED: dart2analyzer-none release_x64 language_2/spread_collections/spread_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 898ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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|/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|/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|/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|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|/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|/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|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|/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|/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|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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-mac language_2/spread_collections/spread_test FAILED: dart2analyzer-none release_x64 language_2/spread_collections/syntax_error_test/05 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 29ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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) <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-mac language_2/spread_collections/syntax_error_test/05 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/syntax_error_test/06 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 22ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/syntax_error_test/06 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/01 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 15ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/type_error_test/01 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/00 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 37ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/type_error_test/00 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/05 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 10ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/type_error_test/05 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/02 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 50ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/type_error_test/02 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/03 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 50ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/type_error_test/03 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/04 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 167ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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) #81 _RootZone.runUnary (dart:async/zone.dart:1379:54) #82 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #83 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #84 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #85 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #86 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #87 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #88 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #89 _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-mac language_2/spread_collections/type_error_test/04 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/syntax_error_test/04 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 722ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/syntax_error_test/04 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/syntax_error_test/03 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 772ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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) #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-mac language_2/spread_collections/syntax_error_test/03 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/02 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 150ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/const_error_test/02 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/05 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 152ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/const_error_test/05 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/07 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 137ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 19ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 40ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/const_error_test/08 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/13 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 37ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/const_error_test/13 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/06 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 184ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/const_error_test/06 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/16 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 41ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/const_error_test/16 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/14 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 50ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/const_error_test/14 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/map_set_ambiguity_error_test/none Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 50ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/map_set_ambiguity_error_test/none 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 56ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/map_set_ambiguity_error_test/00 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/12 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 85ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/const_error_test/12 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 51ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/map_set_ambiguity_error_test/02 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 54ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/map_set_ambiguity_error_test/04 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 72ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/map_set_ambiguity_error_test/01 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 64ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/map_set_ambiguity_error_test/05 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 84ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/map_set_ambiguity_error_test/03 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 53ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/map_set_ambiguity_error_test/07 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 81ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/map_set_ambiguity_error_test/06 === Failure summary: FAILED: dart2analyzer-none release_x64 language_2/const_constructor3_test/04 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 35ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/const_constructor3_test_04.dart exit code: 0 --- Re-run this test: python tools/test.py -n analyzer-asserts-mac language_2/const_constructor3_test/04 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/for_inference_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 01.000157s): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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-mac language_2/control_flow_collections/for_inference_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_const_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 01.000169s): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|/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|SYNTACTIC_ERROR|EXPECTED_TOKEN|/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|/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|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|/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|COMPILE_TIME_ERROR|NON_CONSTANT_SET_ELEMENT|/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|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|CONST_EVAL_THROWS_EXCEPTION|/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. ERROR|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|/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|/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|SYNTACTIC_ERROR|EXPECTED_TOKEN|/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|/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|STATIC_WARNING|EQUAL_KEYS_IN_MAP|/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|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|/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|COMPILE_TIME_ERROR|NON_CONSTANT_MAP_ELEMENT|/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|STATIC_WARNING|EQUAL_KEYS_IN_MAP|/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|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|SYNTACTIC_ERROR|EXPECTED_TOKEN|/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|/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|/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|/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|/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|SYNTACTIC_ERROR|EXPECTED_TOKEN|/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|/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|/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|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|/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|COMPILE_TIME_ERROR|CONST_EVAL_THROWS_EXCEPTION|/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|/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'. --- Re-run this test: python tools/test.py -n analyzer-asserts-mac language_2/control_flow_collections/if_const_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/if_inference_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 01.000192s): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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-mac language_2/control_flow_collections/if_inference_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/for_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 01.000227s): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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|ARGUMENT_TYPE_NOT_ASSIGNABLE|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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'. --- Re-run this test: python tools/test.py -n analyzer-asserts-mac language_2/control_flow_collections/for_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/for_variable_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 01.000350s): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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|/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|/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|/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'. ERROR|STATIC_WARNING|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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'. --- Re-run this test: python tools/test.py -n analyzer-asserts-mac language_2/control_flow_collections/for_variable_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/syntax_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 169ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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|/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|/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|/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|/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|/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-mac language_2/control_flow_collections/syntax_test FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 204ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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-mac 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 332ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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|EQUAL_KEYS_IN_MAP|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|/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|/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|/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-mac language_2/control_flow_collections/if_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 34ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 24ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 95ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 100ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 122ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 163ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/if_const_error_test/02 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 24ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/if_const_error_test/08 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 38ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/if_const_error_test/07 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 32ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 29ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/if_const_error_test/19 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 28ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 26ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 21ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/if_const_error_test/28 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 42ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/if_const_error_test/22 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 25ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 26ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 14ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 16ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/if_const_error_test/38 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 16ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/if_const_error_test/39 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 63ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/if_const_error_test/35 FAILED: dart2analyzer-none release_x64 language_2/control_flow_collections/map_set_ambiguity_error_test/none Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 122ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/map_set_ambiguity_error_test/none 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 121ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/map_set_ambiguity_error_test/00 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 175ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/06 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 33ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/01 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 149ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/05 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 47ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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) <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-mac 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/10 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 29ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/09 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 52ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/08 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 56ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/11 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 47ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/12 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 47ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/13 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 45ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/14 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 34ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 33ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/07 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 185ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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) #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-mac 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/03 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 792ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/02 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 802ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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/04 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 867ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,control-flow-collections,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/control_flow_collections/map_set_ambiguity_error_test/04 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 746ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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'. ERROR|CHECKED_MODE_COMPILE_TIME_ERROR|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|/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|/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|/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|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|/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|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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'. --- Re-run this test: python tools/test.py -n analyzer-asserts-mac language_2/spread_collections/const_test FAILED: dart2analyzer-none release_x64 language_2/spread_collections/inference_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 761ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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-mac language_2/spread_collections/inference_test FAILED: dart2analyzer-none release_x64 language_2/spread_collections/syntax_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 701ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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-mac language_2/spread_collections/syntax_test FAILED: dart2analyzer-none release_x64 language_2/spread_collections/map_set_ambiguity_test Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 795ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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-mac language_2/spread_collections/map_set_ambiguity_test FAILED: dart2analyzer-none release_x64 language_2/spread_collections/spread_test Expected: Pass Actual: CompileTimeError --- Command "dart2analyzer" (took 898ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /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|/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|/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|/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|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|/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|/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|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|/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|/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|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|LIST_ELEMENT_TYPE_NOT_ASSIGNABLE|/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|/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|/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|SET_ELEMENT_TYPE_NOT_ASSIGNABLE|/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-mac language_2/spread_collections/spread_test FAILED: dart2analyzer-none release_x64 language_2/spread_collections/syntax_error_test/05 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 29ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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) <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-mac language_2/spread_collections/syntax_error_test/05 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/syntax_error_test/06 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 22ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/syntax_error_test/06 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/01 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 15ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/type_error_test/01 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/00 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 37ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/type_error_test/00 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/05 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 10ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/type_error_test/05 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/02 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 50ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/type_error_test/02 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/03 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 50ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/type_error_test/03 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/type_error_test/04 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 167ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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) #81 _RootZone.runUnary (dart:async/zone.dart:1379:54) #82 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #83 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #84 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #85 Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9) #86 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #87 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #88 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #89 _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-mac language_2/spread_collections/type_error_test/04 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/syntax_error_test/04 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 722ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/syntax_error_test/04 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/syntax_error_test/03 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 772ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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) #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-mac language_2/spread_collections/syntax_error_test/03 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/02 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 150ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/const_error_test/02 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/05 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 152ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/const_error_test/05 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/07 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 137ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 19ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac 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 40ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/const_error_test/08 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/13 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 37ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/const_error_test/13 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/06 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2analyzer" (took 184ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/const_error_test/06 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/16 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 41ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/const_error_test/16 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/const_error_test/14 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2analyzer" (took 50ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/const_error_test/14 FAILED: dart2analyzer-none release_x64 language_2/spread_collections/map_set_ambiguity_error_test/none Expected: Pass Actual: Crash --- Command "dart2analyzer" (took 50ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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-mac language_2/spread_collections/map_set_ambiguity_error_test/none 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 56ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=set-literals,spread-collections --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/xcodebuild/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:analyz