dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.28k stars 1.59k forks source link

[Null-aware elements] Analyzer implementation #56836

Open chloestefantsova opened 1 month ago

chloestefantsova commented 1 month ago

This meta issue tracks all the analyzer implementation work items. Referenced from: https://github.com/dart-lang/sdk/blob/main/pkg/analyzer/doc/process/new_language_feature.md

Work Items

pq commented 1 month ago

Hi! As part of triage, we look for updates on all P1 issues. @chloestefantsova, is there anything to update?

chloestefantsova commented 1 month ago

Hi! As part of triage, we look for updates on all P1 issues. @chloestefantsova, is there anything to update?

@pq Yes, at this point the flow analysis, the type inference, and constant verification are implemented. Currently I'm working on reporting warnings. With warnings done, the existing failures on the co19 tests for the Analyzer will be fully addressed. Then I will switch to supporting the constants in the summaries, lints, and analysis server features.

pq commented 1 month ago

Awesome. Thanks for the update. Cool to see this feature cruising along!