Index: runtime/vm/ast.cc |
diff --git a/runtime/vm/ast.cc b/runtime/vm/ast.cc |
index 8698e26baf59c6dbf19da96d7719500fb99b3265..0b585d58fac4b56669ff941c09043f417fd3782b 100644 |
--- a/runtime/vm/ast.cc |
+++ b/runtime/vm/ast.cc |
@@ -99,7 +99,7 @@ LocalVariable* LetNode::AddInitializer(AstNode* node) { |
LocalVariable* temp_var = |
new LocalVariable(token_pos(), |
String::ZoneHandle(Symbols::New(name)), |
- Type::ZoneHandle(Type::DynamicType())); |
+ Object::dynamic_type()); |
vars_.Add(temp_var); |
return temp_var; |
} |