Analyzer missing error for 'this' access in a constructor assert #36779
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.
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
After some refactoring I ended up with code like this:
I forgot to update the
assert
to checkstr
, and although this code gives no analysis-time warnings, it fails to run with this compile error:I think there could/should be an analysis error for this if it's not valid.
The text was updated successfully, but these errors were encountered: