DescriptionDon't disable downward inference inside initializers used for top-level inference.
So, I'm removing this flag that didn't allow us to perform invocation
type inference and caused bogus STRONG_MODE_INVALID_CAST_NEW_EXPR errors.
This causes us to perform inference where we don't need it, and report
(only informational?) info:INFERRED_TYPE_ALLOCATION for these invocations.
At the same point, we report errors for these cases, which should be
fixed anyway, and then downward inference will not be performed anymore.
R=brianwilkerson@google.com, leafp@google.com
BUG=
Committed: https://github.com/dart-lang/sdk/commit/16e7ab8d1795105a08aff9fe1c3663ed5e2240ad
Patch Set 1 #
Messages
Total messages: 5 (1 generated)
|