Index: runtime/vm/scopes.cc |
diff --git a/runtime/vm/scopes.cc b/runtime/vm/scopes.cc |
index 0881b8725ec851b723d6724bf9e3824a51c00deb..d325b5bf795a6fcc2081665c2c7dcde004c1dc2f 100644 |
--- a/runtime/vm/scopes.cc |
+++ b/runtime/vm/scopes.cc |
@@ -576,7 +576,7 @@ LocalScope* LocalScope::RestoreOuterScope(const ContextScope& context_scope) { |
if (context_scope.IsConstAt(i)) { |
variable = new LocalVariable(context_scope.TokenIndexAt(i), |
String::ZoneHandle(context_scope.NameAt(i)), |
- AbstractType::ZoneHandle(Type::DynamicType())); |
+ Object::dynamic_type()); |
variable->SetConstValue( |
Instance::ZoneHandle(context_scope.ConstValueAt(i))); |
} else { |