Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: tool/input_sdk/lib/core/errors.dart

Issue 1952013002: Update core/{bool,errors,exceptions} (Closed) Base URL: https://github.com/dart-lang/dev_compiler@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tool/input_sdk/lib/core/bool.dart ('k') | tool/input_sdk/lib/core/exceptions.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/input_sdk/lib/core/errors.dart
diff --git a/tool/input_sdk/lib/core/errors.dart b/tool/input_sdk/lib/core/errors.dart
index 4f9da83bed3fb82adad1df3bbd206b89d5c4f378..a47838bb0e700a436e9c062a0d1f2f1ee9046426 100644
--- a/tool/input_sdk/lib/core/errors.dart
+++ b/tool/input_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";
}
/**
« no previous file with comments | « tool/input_sdk/lib/core/bool.dart ('k') | tool/input_sdk/lib/core/exceptions.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698