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

Unified Diff: runtime/vm/dart_entry.cc

Issue 11233063: Move ObjectNotClosureException and ClosureArgumentMismatchException to patch file. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: checked mode test expectations. Created 8 years, 2 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/lib/errors_patch.dart ('k') | runtime/vm/exceptions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_entry.cc
diff --git a/runtime/vm/dart_entry.cc b/runtime/vm/dart_entry.cc
index 0e7790b0cb54e6b4264a6aeb5c6d72bc9cc6ca59..3287777b95fdf2189a7418a9dc9480bcd2f7ff34 100644
--- a/runtime/vm/dart_entry.cc
+++ b/runtime/vm/dart_entry.cc
@@ -167,7 +167,7 @@ RawObject* DartLibraryCalls::ExceptionCreate(
const Library& lib,
const String& class_name,
const GrowableArray<const Object*>& arguments) {
- const Class& cls = Class::Handle(lib.LookupClass(class_name));
+ const Class& cls = Class::Handle(lib.LookupClassAllowPrivate(class_name));
ASSERT(!cls.IsNull());
// For now, we only support a non-parameterized or raw type.
const Instance& exception_object = Instance::Handle(Instance::New(cls));
« no previous file with comments | « runtime/lib/errors_patch.dart ('k') | runtime/vm/exceptions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698