Skip to content

[Analyzer] Instance members mistakenly allowed by analyzer in static method anonymous function #44780

@parlough

Description

@parlough

I'm not sure of the exact intricacies of when/how this occurs, but refer to this dartdoc PR issue for an actual example.

It seems that it at least occurs within a static method initial variable declaration(not assignment) where the instance member is being accessed within an anonymous function.

@scheglov @srawlins

Metadata

Metadata

Assignees

Labels

P3A lower priority bug or feature requestdart-model-analyzer-specIssues with the analyzer's implementation of the language speclegacy-area-analyzerUse area-devexp instead.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions