| Index: runtime/vm/object.cc
|
| ===================================================================
|
| --- runtime/vm/object.cc (revision 5833)
|
| +++ runtime/vm/object.cc (working copy)
|
| @@ -5243,6 +5243,9 @@
|
| cls ^= it.GetNextClass();
|
| if (!cls.is_interface()) {
|
| error = Compiler::CompileAllFunctions(cls);
|
| + if (!error.IsNull()) {
|
| + return error.raw();
|
| + }
|
| }
|
| }
|
| Array& anon_classes = Array::Handle(lib.raw_ptr()->anonymous_classes_);
|
| @@ -5250,6 +5253,9 @@
|
| cls ^= anon_classes.At(i);
|
| ASSERT(!cls.is_interface());
|
| error = Compiler::CompileAllFunctions(cls);
|
| + if (!error.IsNull()) {
|
| + return error.raw();
|
| + }
|
| }
|
| lib = lib.next_registered();
|
| }
|
|
|