dart-sdk/pkg/nnbd_migration
Paul Berry ec2823d052 Make an interface type to represent promotable variables.
And updade flow analysis clients to use this interface, so that we
have no risk of accidentally trying to promote things that shouldn't
be promotable.  (Previously we used VariableElement, which would have
allowed fields).

Fixes https://github.com/dart-lang/sdk/issues/38572.

Change-Id: I225d3adabea503ca7eb9042516cf95d5a257fec6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/119162
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2019-09-27 20:54:00 +00:00
..
lib Make an interface type to represent promotable variables. 2019-09-27 20:54:00 +00:00
test Migration: add logic for converting a decorated type to its final post-migration form. 2019-09-27 16:35:24 +00:00
tool Migration: fix trial_migration.dart's handling of required 2019-09-26 19:00:19 +00:00
analysis_options.yaml Migration: Add an analysis_options.yaml file. 2019-07-30 13:40:07 +00:00
CHANGELOG.md Move NNBD migration tool to a fresh package. 2019-06-09 17:45:35 +00:00
LICENSE Move NNBD migration tool to a fresh package. 2019-06-09 17:45:35 +00:00
pubspec.yaml Fix package dependencies in analyzer_cli, dartfix, nnbd_migration 2019-07-22 19:55:43 +00:00
README.md Move NNBD migration tool to a fresh package. 2019-06-09 17:45:35 +00:00

NNBD Migration Engine

This package provides infrastructure for migrating code to be non-nullable by default.