Index: runtime/vm/ast_test.cc |
=================================================================== |
--- runtime/vm/ast_test.cc (revision 778) |
+++ runtime/vm/ast_test.cc (working copy) |
@@ -19,7 +19,7 @@ |
const intptr_t kPos = 1; // Dummy token index in non-existing source. |
LocalVariable* v = new LocalVariable(kPos, |
String::ZoneHandle(String::New("v")), |
- Type::ZoneHandle(Type::VarType())); |
+ Type::ZoneHandle(Type::DynamicType())); |
AstNode* ll = new LoadLocalNode(kPos, *v); |
EXPECT(ll->IsLoadLocalNode()); |
EXPECT(!ll->IsLiteralNode()); |
@@ -30,7 +30,7 @@ |
LocalVariable* p = new LocalVariable(kPos, |
String::ZoneHandle(String::New("p")), |
- Type::ZoneHandle(Type::VarType())); |
+ Type::ZoneHandle(Type::DynamicType())); |
EXPECT(!p->HasIndex()); |
p->set_index(-1); |
EXPECT(p->HasIndex()); |