Index: runtime/lib/double_patch.dart |
diff --git a/runtime/lib/double_patch.dart b/runtime/lib/double_patch.dart |
index 8fb5560870fae22fac6b74615227245feb4505a6..9e2abeb4ece9d7ee80a7404bca87f8e635038d55 100644 |
--- a/runtime/lib/double_patch.dart |
+++ b/runtime/lib/double_patch.dart |
@@ -39,11 +39,11 @@ patch class double { |
} |
/* patch */ static double parse(String str, |
- [double handleError(String str)]) { |
+ [double onError(String str)]) { |
var result = _parse(str); |
if (result == null) { |
- if (handleError == null) throw new FormatException(str); |
- return handleError(str); |
+ if (onError == null) throw new FormatException(str); |
+ return onError(str); |
} |
return result; |
} |