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

Unified Diff: runtime/lib/error.dart

Issue 10882056: Unify AssertionError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
« corelib/src/exceptions.dart ('K') | « runtime/lib/error.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/error.dart
diff --git a/runtime/lib/error.dart b/runtime/lib/error.dart
index 8b3318590b3b720f60c869954aea03ec27c39a9a..fd33764ef181a4659a6a48f355607a54462a5f34 100644
--- a/runtime/lib/error.dart
+++ b/runtime/lib/error.dart
@@ -4,8 +4,8 @@
// Errors are created and thrown by DartVM only.
// Changes here should also be reflected in corelib/error.dart as well
-class AssertionError {
- factory AssertionError._uninstantiable() {
+class AssertionErrorImplementation extends AssertionError {
+ factory AssertionErrorImplementation._uninstantiable() {
throw const UnsupportedOperationException(
"AssertionError can only be allocated by the VM");
}
« corelib/src/exceptions.dart ('K') | « runtime/lib/error.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698