Chromium Code Reviews
DescriptionStore named parameters in sorted lists instead of using maps.
FunctionType now has a List<NamedType> which must be sorted by name.
Previously, named parameters were stored in a Map<String, DartType>.
FunctionNode still has a List<VariableDeclaration>, but this list must
now be sorted by name.
BUG=
R=ahe@google.com
Committed: https://github.com/dart-lang/kernel/commit/0defa95239024bf36b62f59d42130037cadfa519
Patch Set 1 #Patch Set 2 : Add testcase #
Total comments: 3
Patch Set 3 : Add sanity check and add function type to testcase #Patch Set 4 : Remove duplicates from named parameter lists to recover from erroneous inputs #
Messages
Total messages: 9 (2 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||