Index: runtime/vm/compiler.cc |
diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc |
index 408f60559d8b15858143f9391885dd4d79159a33..d7a889c37637a7982211940be1f33d6c990e0e90 100644 |
--- a/runtime/vm/compiler.cc |
+++ b/runtime/vm/compiler.cc |
@@ -1480,7 +1480,7 @@ RawObject* Compiler::ExecuteOnce(SequenceNode* fragment) { |
false, // not abstract |
false, // not external |
false, // not native |
- Class::Handle(Type::Handle(Type::Function()).type_class()), |
+ Class::Handle(Type::Handle(Type::DartFunctionType()).type_class()), |
fragment->token_pos())); |
func.set_result_type(Object::dynamic_type()); |