Index: sdk/lib/core/errors.dart |
diff --git a/sdk/lib/core/errors.dart b/sdk/lib/core/errors.dart |
index 0e99b0b271ce48375f613c2fc9522aad6d0e5019..418dce6d5bac4d9892c130879e1a44cbdf5cf65c 100644 |
--- a/sdk/lib/core/errors.dart |
+++ b/sdk/lib/core/errors.dart |
@@ -96,6 +96,8 @@ class Error { |
* Error thrown by the runtime system when an assert statement fails. |
*/ |
class AssertionError extends Error { |
+ AssertionError(); |
+ String toString() => "Assertion failed"; |
} |
/** |