| Index: runtime/vm/dart_api_impl.cc
|
| diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
|
| index 9570aa0179d66a6ed2b160cf1f703b8648acc5da..037033173c6357f5528f18117de8af2d0a22685c 100644
|
| --- a/runtime/vm/dart_api_impl.cc
|
| +++ b/runtime/vm/dart_api_impl.cc
|
| @@ -5186,7 +5186,7 @@ static void CompileSource(Isolate* isolate,
|
| *result = Api::NewHandle(isolate, error.raw());
|
| // Compilation errors are not Dart instances, so just mark the library
|
| // as having failed to load without providing an error instance.
|
| - lib.SetLoadError(Instance::Handle());
|
| + lib.SetLoadError(Object::null_instance());
|
| }
|
| }
|
|
|
|
|