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

Unified Diff: runtime/vm/exceptions.cc

Issue 11275042: Renaming IndexOutOfRangeException to RangeError. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Regenerated html files. Created 8 years, 1 month 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/exceptions.h ('k') | tests/co19/co19-dart2dart.status » ('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 73e7d4ad3c950e1d1fc4e663c3a9747c3a2fb051..2a77c53194f4b131b5fb09c97be76066639aa132 100644
--- a/runtime/vm/exceptions.cc
+++ b/runtime/vm/exceptions.cc
@@ -396,9 +396,9 @@ RawObject* Exceptions::Create(
Library& library = Library::Handle();
String& class_name = String::Handle();
switch (type) {
- case kIndexOutOfRange:
+ case kRange:
library = Library::CoreLibrary();
- class_name = Symbols::New("IndexOutOfRangeException");
+ class_name = Symbols::New("RangeError");
break;
case kArgument:
library = Library::CoreLibrary();
« no previous file with comments | « runtime/vm/exceptions.h ('k') | tests/co19/co19-dart2dart.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698