| Index: lib/runtime/dart/_interceptors.js
|
| diff --git a/lib/runtime/dart/_interceptors.js b/lib/runtime/dart/_interceptors.js
|
| index ca2bb15fb2d950520c37a55401db8912a4b67c22..7dc5e93380b38515b2a9122d191d5be0bac70ee4 100644
|
| --- a/lib/runtime/dart/_interceptors.js
|
| +++ b/lib/runtime/dart/_interceptors.js
|
| @@ -140,13 +140,13 @@ var _interceptors;
|
| throw new core.ArgumentError(lowerLimit);
|
| if (!dart.is(upperLimit, core.num))
|
| throw new core.ArgumentError(upperLimit);
|
| - if (dart.dsend(dart.dsend(lowerLimit, 'compareTo', upperLimit), '>', 0)) {
|
| + if (dart.notNull(lowerLimit.compareTo(upperLimit)) > 0) {
|
| throw new core.ArgumentError(lowerLimit);
|
| }
|
| - if (dart.notNull(this.compareTo(dart.as(lowerLimit, core.num))) < 0)
|
| - return dart.as(lowerLimit, core.num);
|
| - if (dart.notNull(this.compareTo(dart.as(upperLimit, core.num))) > 0)
|
| - return dart.as(upperLimit, core.num);
|
| + if (dart.notNull(this.compareTo(lowerLimit)) < 0)
|
| + return lowerLimit;
|
| + if (dart.notNull(this.compareTo(upperLimit)) > 0)
|
| + return upperLimit;
|
| return this;
|
| }
|
| toDouble() {
|
|
|