Chromium Code Reviews
DescriptionAdd FunctionType.getNamedParameter.
This functionality was duplicated both in
TypeCheckingVisitor.handleFunctionCall and in the front end's
TypeInferrerImpl._getCalleeFunctionType. I kept the implementation
from TypeInferrerImpl._getCalleeFunctionType since it does a binary
search, so it should theoretically be faster.
R=kmillikin@google.com, scheglov@google.com
Committed: https://github.com/dart-lang/sdk/commit/06bba1e5517631d55bcf8e4d4160b5688ec476e5
Patch Set 1 #
Total comments: 2
Patch Set 2 : Extract namedParameters[pivot] into a local variable #
Messages
Total messages: 9 (3 generated)
|
|||||||||||||||||||||||||||||||||||||