Chromium Code Reviews| Index: runtime/lib/object.cc |
| diff --git a/runtime/lib/object.cc b/runtime/lib/object.cc |
| index 3d9ed92cea65aae79d7c3c1e83d9ce1b7f69ae41..f52dfd915749dc4243d106b50b7cc7ecb978d9b5 100644 |
| --- a/runtime/lib/object.cc |
| +++ b/runtime/lib/object.cc |
| @@ -26,7 +26,7 @@ DEFINE_NATIVE_ENTRY(Object_noSuchMethod, 3) { |
| GrowableArray<const Object*> args; |
| args.Add(&function_name); |
| args.Add(&func_args); |
| - Exceptions::ThrowByType(Exceptions::kNullPointer, args); |
| + Exceptions::ThrowByType(Exceptions::kNullThrown, args); |
|
regis
2012/11/19 19:45:31
We called a method on null. Is NullThrown the righ
Lasse Reichstein Nielsen
2012/11/20 09:21:11
Noooo, kNullThrown is wrong! We should just fall t
|
| } |
| const Object& null_object = Object::Handle(Object::null()); |
| GrowableArray<const Object*> dart_arguments(3); |