Analyzer incorrectly resolves unqualified identifiers in classes #38032
Labels
analyzer-spec
Issues with the analyzer's implementation of the language spec
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P4
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
In the following example:
The specification requires that the reference to
x
resolve to the top level definition ofx
, for which no setter is defined, and hence should be a static error.The CFE resolves this correctly, so there is an inconsistency between the tools. See this comment for more discussion.
See also:
cc @stereotype441 @vsmenon @Markzipan
The text was updated successfully, but these errors were encountered: