Index: runtime/lib/double_patch.dart |
diff --git a/runtime/lib/double_patch.dart b/runtime/lib/double_patch.dart |
index a239a7523ce6f0b42fa71856c2c83f934846c017..d8e0cbd0c8450825ce4460e4af4e0a60d7291337 100644 |
--- a/runtime/lib/double_patch.dart |
+++ b/runtime/lib/double_patch.dart |
@@ -24,7 +24,7 @@ patch class double { |
[double onError(String str)]) { |
var result = _parse(str); |
if (result == null) { |
- if (onError == null) throw new FormatException(str); |
+ if (onError == null) throw new FormatException("Invalid double", str); |
return onError(str); |
} |
return result; |