Chromium Code Reviews
Description- Add support for binary operators
- Add support for ad-hoc hardcoded typing rules
- Add rules for int, double and num, for + and *
I'd like your opinion on the general strategy before adding dozens of ad-hoc
rules. So if you LGTM this CL, I'll add them in a later CL.
Note: this is different from trusting the types from the signatures of, say, int's methods because we can overload some methods. Defaulting to trusting the types might be a good replacement for what currently returns Dynamic.
Committed: https://code.google.com/p/dart/source/detail?r=14070
Patch Set 1 #
Total comments: 2
Patch Set 2 : Address sra's comments #Patch Set 3 : sync to head #
Total comments: 16
Patch Set 4 : Address Karl's comments. #Patch Set 5 : Forgot one comment. #
Messages
Total messages: 5 (0 generated)
|
|||||||||||||||||||||||||||||||||||||