Index: runtime/vm/code_generator_test.cc |
=================================================================== |
--- runtime/vm/code_generator_test.cc (revision 12785) |
+++ runtime/vm/code_generator_test.cc (working copy) |
@@ -270,7 +270,9 @@ |
lib.Register(); |
Library& core_lib = Library::Handle(Library::CoreLibrary()); |
ASSERT(!core_lib.IsNull()); |
- lib.AddImport(core_lib); |
+ const Namespace& core_ns = Namespace::Handle( |
+ Namespace::New(core_lib, Array::Handle(), Array::Handle())); |
+ lib.AddImport(core_ns); |
return lib; |
} |