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

Unified Diff: runtime/lib/error.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 | « no previous file | runtime/vm/ast_printer_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/error.cc
===================================================================
--- runtime/lib/error.cc (revision 778)
+++ runtime/lib/error.cc (working copy)
@@ -194,7 +194,7 @@
const TypeArguments& dst_type_instantiator =
TypeArguments::CheckedHandle(arguments.At(3));
const String& dst_name = String::CheckedHandle(arguments.At(4));
- ASSERT(!dst_type.IsVarType()); // No need to check assignment to 'var type'.
+ ASSERT(!dst_type.IsDynamicType()); // No need to check assignment.
ASSERT(!src_instance.IsNull()); // Already checked in inlined code.
if (!src_instance.IsAssignableTo(dst_type, dst_type_instantiator)) {
@@ -258,7 +258,7 @@
const TypeArguments& element_type_instantiator =
TypeArguments::CheckedHandle(arguments.At(3));
const String& rest_name = String::CheckedHandle(arguments.At(4));
- ASSERT(!element_type.IsVarType()); // No need to check assignment.
+ ASSERT(!element_type.IsDynamicType()); // No need to check assignment.
ASSERT(!rest_array.IsNull());
Instance& elem = Instance::Handle();
« no previous file with comments | « no previous file | runtime/vm/ast_printer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698