Index: sdk/lib/core/errors.dart |
diff --git a/sdk/lib/core/errors.dart b/sdk/lib/core/errors.dart |
index 0e99b0b271ce48375f613c2fc9522aad6d0e5019..f8b55b17cb014fa6472043beb8a824eef739b758 100644 |
--- a/sdk/lib/core/errors.dart |
+++ b/sdk/lib/core/errors.dart |
@@ -96,6 +96,9 @@ class Error { |
* Error thrown by the runtime system when an assert statement fails. |
*/ |
class AssertionError extends Error { |
+ /** Message describing the assertion error. */ |
+ final Object message; |
sra1
2015/09/02 18:00:27
1. Is the intention to also give TypeError a messa
Lasse Reichstein Nielsen
2015/09/03 07:42:04
No, but it's an inadvertent consequence of making
|
+ AssertionError([this.message]); |
} |
/** |