DescriptionImprove the handling of inference for instance fields in the task model
strong mode inference. This CL adds instance fields to the set of variables
for which dependencies are computed, and re-resolves each instance field
initializer using type information inferred for the static variables upon
which it depends.
This CL also stops static variables with existing type information from having
their types overwritten.
This CL ports over a number of the DDC inference tests, more remain to be ported.
There is still at least one outstanding issue with instance variable inference,
see #354 (and the two tests marked fail added in this CL).
BUG=
R=brianwilkerson@google.com
Committed: https://github.com/dart-lang/sdk/commit/9be2107f391dec2699da031159b819257cd68ab5
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address comments 1 #
Messages
Total messages: 7 (1 generated)
|