20e402c43d
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 Review URL: https://codereview.chromium.org/2386493003 .