Index: runtime/vm/scopes_test.cc |
=================================================================== |
--- runtime/vm/scopes_test.cc (revision 778) |
+++ runtime/vm/scopes_test.cc (working copy) |
@@ -14,14 +14,14 @@ |
TEST_CASE(LocalScope) { |
// Allocate a couple of local variables first. |
- const Type& var_type = Type::ZoneHandle(Type::VarType()); |
+ const Type& dynamic_type = Type::ZoneHandle(Type::DynamicType()); |
const String& a = String::ZoneHandle(String::New("a")); |
- LocalVariable* var_a = new LocalVariable(kPos, a, var_type); |
- LocalVariable* inner_var_a = new LocalVariable(kPos, a, var_type); |
+ LocalVariable* var_a = new LocalVariable(kPos, a, dynamic_type); |
+ LocalVariable* inner_var_a = new LocalVariable(kPos, a, dynamic_type); |
const String& b = String::ZoneHandle(String::New("b")); |
- LocalVariable* var_b = new LocalVariable(kPos, b, var_type); |
+ LocalVariable* var_b = new LocalVariable(kPos, b, dynamic_type); |
const String& c = String::ZoneHandle(String::New("c")); |
- LocalVariable* var_c = new LocalVariable(kPos, c, var_type); |
+ LocalVariable* var_c = new LocalVariable(kPos, c, dynamic_type); |
const String& L = String::ZoneHandle(String::New("L")); |
SourceLabel* label_L = new SourceLabel(kPos, L, SourceLabel::kFor); |