| Index: runtime/lib/double_patch.dart
|
| diff --git a/runtime/lib/double_patch.dart b/runtime/lib/double_patch.dart
|
| index f33122ac763da4de7ff8611918fa8aa8d5c5a204..5a0c98fe5a9037e284fbc469f09ff47301a3acca 100644
|
| --- a/runtime/lib/double_patch.dart
|
| +++ b/runtime/lib/double_patch.dart
|
| @@ -101,12 +101,12 @@ patch class double {
|
| return _nativeParse(str, start, end);
|
| }
|
|
|
| - /* patch */ static double parse(String str,
|
| - [double onError(String str)]) {
|
| - var result = _parse(str);
|
| + /* patch */ static double parse(String source,
|
| + [double onError(String source)]) {
|
| + var result = _parse(source);
|
| if (result == null) {
|
| - if (onError == null) throw new FormatException("Invalid double", str);
|
| - return onError(str);
|
| + if (onError == null) throw new FormatException("Invalid double", source);
|
| + return onError(source);
|
| }
|
| return result;
|
| }
|
|
|