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

Unified Diff: runtime/vm/exceptions.cc

Issue 10896007: Expose remaining 'errors' in an unified dart:core. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move errors to errors.dart in dart2js. 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
« no previous file with comments | « runtime/vm/debugger.cc ('k') | runtime/vm/symbols.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/exceptions.cc
diff --git a/runtime/vm/exceptions.cc b/runtime/vm/exceptions.cc
index 7242b1fb07c561f860fc628b03e0978ffccfe451..e42d463c49f19ec889b570b4ab83a4d11dc5c5bb 100644
--- a/runtime/vm/exceptions.cc
+++ b/runtime/vm/exceptions.cc
@@ -260,11 +260,11 @@ void Exceptions::CreateAndThrowTypeError(intptr_t location,
Instance& type_error = Instance::Handle();
Class& cls = Class::Handle();
if (dst_name.Equals(kCastExceptionDstName)) {
- type_error = NewInstance("CastException");
+ type_error = NewInstance("CastExceptionImplementation");
cls = type_error.clazz();
cls = cls.SuperClass();
} else {
- type_error = NewInstance("TypeError");
+ type_error = NewInstance("TypeErrorImplementation");
cls = type_error.clazz();
}
« no previous file with comments | « runtime/vm/debugger.cc ('k') | runtime/vm/symbols.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698