Index: runtime/vm/object_test.cc |
diff --git a/runtime/vm/object_test.cc b/runtime/vm/object_test.cc |
index 5a61bba27723c72a407941df3a2de750166c6583..a9fa357ca9efd6d2d2e3a71afdd2715fb1d5d137 100644 |
--- a/runtime/vm/object_test.cc |
+++ b/runtime/vm/object_test.cc |
@@ -2620,7 +2620,8 @@ ISOLATE_UNIT_TEST_CASE(Closure) { |
function = Function::NewClosureFunction(function_name, parent, |
TokenPosition::kMinSource); |
const Closure& closure = Closure::Handle( |
- Closure::New(Object::null_type_arguments(), function, context)); |
+ Closure::New(Object::null_type_arguments(), Object::null_type_arguments(), |
+ function, context)); |
const Class& closure_class = Class::Handle(closure.clazz()); |
EXPECT_EQ(closure_class.id(), kClosureCid); |
const Function& closure_function = Function::Handle(closure.function()); |