DescriptionDo not sort named parameters on FunctionNode.
This was originally done to be consistent with FunctionType,
where the named parameters are sorted, but for FunctionNode
it is not necessary.
It causes issues for natives that expect parameters to be
declared in a certain order. It is also an issue if we
ever want to reuse the kernel format for summaries, where
it is also preferable to present the named parameters in
their original order.
BUG=
R=kmillikin@google.com
Committed: https://github.com/dart-lang/sdk/commit/963e1ebc55b0689b0d049a2ea34a6d39204ed6f5
Patch Set 1 #Patch Set 2 : Also update functionType getter #
Dependent Patchsets: Messages
Total messages: 7 (4 generated)
|