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

Unified Diff: runtime/lib/error.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 | « lib/compiler/implementation/lib/mock.dart ('k') | runtime/lib/error.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/error.cc
diff --git a/runtime/lib/error.cc b/runtime/lib/error.cc
index 1ae8e379f85bba4fd1539a97b5a80f8441b0d5a0..6f119632f8cbc8c955a949df2066ec8ab78f8593 100644
--- a/runtime/lib/error.cc
+++ b/runtime/lib/error.cc
@@ -79,8 +79,8 @@ DEFINE_NATIVE_ENTRY(FallThroughError_throwNew, 1) {
intptr_t fallthrough_pos = smi_pos.Value();
// Allocate a new instance of type FallThroughError.
- const Instance& fallthrough_error =
- Instance::Handle(Exceptions::NewInstance("FallThroughError"));
+ const Instance& fallthrough_error = Instance::Handle(Exceptions::NewInstance(
+ "FallThroughErrorImplementation"));
ASSERT(!fallthrough_error.IsNull());
// Initialize 'url' and 'line' fields.
« no previous file with comments | « lib/compiler/implementation/lib/mock.dart ('k') | runtime/lib/error.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698