DescriptionFix ParameterElementImpl.hasImplicitType for function-typed parameters.
UnlinkedParam.type serves a dual role: for ordinary parameters it is
the declared type; for function-typed parameters it is the declared
return type. So to determine whether a parameter has an implicit type
it is not sufficient to check whether UnlinkedParam.type is `null`.
We also need to check whether the parameter is function-typed.
R=brianwilkerson@google.com
Committed: https://github.com/dart-lang/sdk/commit/e8131d6f1a4d75155e017c67bb7615d1ae87561b
Patch Set 1 #
Messages
Total messages: 7 (3 generated)
|