dart-sdk/pkg/nnbd_migration/lib
Paul Berry 1b18e8f5ac Flow analysis: account for initializers of implicitly typed variables.
Previously, initializers of implicitly typed variables did not
contribute to the SSA tracking performed by flow analysis (see
https://github.com/dart-lang/language/issues/1785).  This change fixes
the bug, however the fix is conditioned on the "constructor tearoffs"
language feature to avoid compatibility issues (we don't want someone
to publish a package taking advantage of the fix, without realizing
that it makes their package unusable on older SDKs).

TEST=standard trybots
Bug: https://github.com/dart-lang/language/issues/1785
Change-Id: I1143440c7a9795b059e8f4b84e3f4125cd80732c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/211306
Commit-Queue: Paul Berry <paulberry@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2021-08-27 15:01:15 +00:00
..
src Flow analysis: account for initializers of implicitly typed variables. 2021-08-27 15:01:15 +00:00
fix_reason_target.dart
instrumentation.dart Migration: add support for Angular's @ViewChild() and @ContentChild() annotations. 2021-08-11 01:55:41 +00:00
migration_cli.dart Make ResolvedUnitResult.content/unit non-nullable. 2021-07-14 02:33:10 +00:00
nnbd_migration.dart Migration: discard @nullable annotations on property accessors. 2021-07-15 16:22:09 +00:00
nullability_state.dart Migration: remove postportem file capability 2021-06-16 16:34:37 +00:00