Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(694)

Unified Diff: runtime/vm/ast_test.cc

Issue 8403003: Rename the VM internal 'var' type to 'Dynamic' type. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/ast_printer_test.cc ('k') | runtime/vm/class_finalizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « runtime/vm/ast_printer_test.cc ('k') | runtime/vm/class_finalizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698