Index: runtime/vm/object_test.cc |
diff --git a/runtime/vm/object_test.cc b/runtime/vm/object_test.cc |
index 0e7ba6c14611c07573440007dd79921b541161ab..fdaff296d8042799c93fac5c004a9d339ef4a007 100644 |
--- a/runtime/vm/object_test.cc |
+++ b/runtime/vm/object_test.cc |
@@ -2619,7 +2619,8 @@ ISOLATE_UNIT_TEST_CASE(Closure) { |
const String& function_name = String::Handle(Symbols::New(thread, "foo")); |
function = Function::NewClosureFunction(function_name, parent, |
TokenPosition::kMinSource); |
- const Closure& closure = Closure::Handle(Closure::New(function, context)); |
+ const Closure& closure = |
+ Closure::Handle(Closure::New(TypeArguments::Handle(), function, context)); |
const Class& closure_class = Class::Handle(closure.clazz()); |
EXPECT_EQ(closure_class.id(), kClosureCid); |
const Function& closure_function = Function::Handle(closure.function()); |