Index: sdk/lib/core/errors.dart |
diff --git a/sdk/lib/core/errors.dart b/sdk/lib/core/errors.dart |
index 30538071ec3fbde3792917087fe1a2b63df48e3b..0229732d4fb7f4386f820b22c0debbae67360a44 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"; |
} |
/** |