Skip to content

[analyzer] Error: Exception: Missing implementation of visitDotShorthandPropertyAccess #61870

@dcharkes

Description

@dcharkes
Error: Exception: Missing implementation of visitDotShorthandPropertyAccess
#0      ThrowingAstVisitor._throw (package:analyzer/dart/ast/visitor.dart:2971:5)
#1      ThrowingAstVisitor.visitDotShorthandPropertyAccess (package:analyzer/dart/ast/visitor.dart:2542:7)
#2      DotShorthandPropertyAccessImpl.accept (package:analyzer/src/dart/ast/ast.dart:5536:15)
#3      AstBinaryWriter._writeNodeList (package:analyzer/src/summary2/ast_binary_writer.dart:976:19)
#4      AstBinaryWriter.visitListLiteral (package:analyzer/src/summary2/ast_binary_writer.dart:497:5)
#5      ListLiteralImpl.accept (package:analyzer/src/dart/ast/ast.dart:11524:50)
#6      ResolutionSink._writeNode (package:analyzer/src/summary2/bundle_writer.dart:955:10)
#7      ResolutionSink._writeOptionalNode (package:analyzer/src/summary2/bundle_writer.dart:972:7)
#8      BundleWriter._writeParameterElement.<anonymous closure> (package:analyzer/src/summary2/bundle_writer.dart:528:25)
#9      BundleWriter._writeTypeParameters.<anonymous closure> (package:analyzer/src/summary2/bundle_writer.dart:640:8)
#10     _LocalElementIndexer.withElements (package:analyzer/src/summary2/bundle_writer.dart:1218:6)
...

https://github.com/dart-lang/native/actions/runs/18909993568/job/54066925267?pr=2736

Dart version:

Installing the linux-x64 Dart SDK version 3.11.0-71.0.dev from the dev (release) channel.

I don't believe we have any dot-shorthands in the Dart source code, so it is somewhat suprising that we hit this in the writer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.feature-dot-shorthandsImplementation of the dot shorthands feature.model-crashesCrashes in the analyzer or CFE

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions