| Index: lib/runtime/dart/_js_helper.js
|
| diff --git a/lib/runtime/dart/_js_helper.js b/lib/runtime/dart/_js_helper.js
|
| index ec660ff06b55022c87bf61f76c2490063497e223..b919c76462bf1196813a678a33ae36ffd6c551de 100644
|
| --- a/lib/runtime/dart/_js_helper.js
|
| +++ b/lib/runtime/dart/_js_helper.js
|
| @@ -1893,7 +1893,7 @@ var _isolate_helper = dart.lazyImport(_isolate_helper);
|
| }
|
| static parseInt(source, radix, handleError) {
|
| if (handleError == null)
|
| - handleError = dart.as(Primitives._throwFormatException, __CastType0);
|
| + handleError = Primitives._throwFormatException;
|
| checkString(source);
|
| let match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source);
|
| let digitsIndex = 1;
|
| @@ -1945,7 +1945,7 @@ var _isolate_helper = dart.lazyImport(_isolate_helper);
|
| static parseDouble(source, handleError) {
|
| checkString(source);
|
| if (handleError == null)
|
| - handleError = dart.as(Primitives._throwFormatException, __CastType2);
|
| + handleError = Primitives._throwFormatException;
|
| if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source)) {
|
| return handleError(source);
|
| }
|
| @@ -2272,7 +2272,7 @@ var _isolate_helper = dart.lazyImport(_isolate_helper);
|
| statics: () => ({
|
| initializeStatics: [dart.void, [core.int]],
|
| objectHashCode: [core.int, [core.Object]],
|
| - _throwFormatException: [core.Object, [core.String]],
|
| + _throwFormatException: [core.Null, [core.String]],
|
| parseInt: [core.int, [core.String, core.int, dart.functionType(core.int, [core.String])]],
|
| parseDouble: [core.double, [core.String, dart.functionType(core.double, [core.String])]],
|
| formatType: [core.String, [core.String, core.List]],
|
| @@ -4154,8 +4154,6 @@ var _isolate_helper = dart.lazyImport(_isolate_helper);
|
| throw new MainError("'main' expects too many parameters.");
|
| }
|
| dart.fn(mainHasTooManyParameters, dart.void, []);
|
| - let __CastType0 = dart.typedef('__CastType0', () => dart.functionType(core.int, [core.String]));
|
| - let __CastType2 = dart.typedef('__CastType2', () => dart.functionType(core.double, [core.String]));
|
| // Exports:
|
| exports.NoSideEffects = NoSideEffects;
|
| exports.NoThrows = NoThrows;
|
|
|