Index: runtime/vm/compiler.cc |
diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc |
index 493cc0e67e0152d076e0aa67fc2c6cffbba69723..80409806a8053ae6dcdeb8f921ea91f6d1f5fb98 100644 |
--- a/runtime/vm/compiler.cc |
+++ b/runtime/vm/compiler.cc |
@@ -1503,7 +1503,7 @@ RawObject* Compiler::ExecuteOnce(SequenceNode* fragment) { |
Class::Handle(Type::Handle(Type::Function()).type_class()), |
fragment->token_pos())); |
- func.set_result_type(Type::Handle(Type::DynamicType())); |
+ func.set_result_type(Object::dynamic_type()); |
func.set_num_fixed_parameters(0); |
func.SetNumOptionalParameters(0, true); |
// Manually generated AST, do not recompile. |