DescriptionFix type errors in math.min() and math.max().
Really, this works around them, but the workaround is all round better
code.
Remove the Dart implementations of min() and max() and just forward to
the JS ones. In DDC, all numbers are double, so the type checks to
handle them specifically aren't meaningful. Also, we don't need the
other special case checks in there to help dart2js optimize them.
R=vsm@google.com
Committed: https://github.com/dart-lang/dev_compiler/commit/20e402c43dfbcad502f794eecab81f311c421fb7
Patch Set 1 #
Total comments: 2
Messages
Total messages: 7 (2 generated)
|