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

Unified Diff: runtime/vm/unit_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/scopes_test.cc ('k') | tests/language/src/TypeVMTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/unit_test.cc
===================================================================
--- runtime/vm/unit_test.cc (revision 778)
+++ runtime/vm/unit_test.cc (working copy)
@@ -92,7 +92,7 @@
const String& function_name = String::ZoneHandle(String::NewSymbol(name));
function_ = Function::New(
function_name, RawFunction::kFunction, true, false, 0);
- function_.set_result_type(Type::Handle(Type::VarType()));
+ function_.set_result_type(Type::Handle(Type::DynamicType()));
// Add function to a class and that class to the class dictionary so that
// frame walking can be used.
Class& cls = Class::ZoneHandle();
« no previous file with comments | « runtime/vm/scopes_test.cc ('k') | tests/language/src/TypeVMTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698