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

Unified Diff: runtime/vm/scopes.cc

Issue 8761011: Renaming type classes as discussed: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month 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
Index: runtime/vm/scopes.cc
===================================================================
--- runtime/vm/scopes.cc (revision 1948)
+++ runtime/vm/scopes.cc (working copy)
@@ -371,7 +371,7 @@
LocalVariable* variable =
new LocalVariable(context_scope.TokenIndexAt(i),
String::ZoneHandle(context_scope.NameAt(i)),
- Type::ZoneHandle(context_scope.TypeAt(i)));
+ AbstractType::ZoneHandle(context_scope.TypeAt(i)));
variable->set_is_captured();
variable->set_index(context_scope.ContextIndexAt(i));
if (context_scope.IsFinalAt(i)) {
@@ -402,7 +402,7 @@
context_scope.SetTokenIndexAt(0, func.token_index());
context_scope.SetNameAt(0, name);
context_scope.SetIsFinalAt(0, true);
- const Type& type = Type::Handle(func.ParameterTypeAt(0));
+ const AbstractType& type = AbstractType::Handle(func.ParameterTypeAt(0));
context_scope.SetTypeAt(0, type);
context_scope.SetContextIndexAt(0, 0);
context_scope.SetContextLevelAt(0, 0);
« runtime/vm/raw_object.h ('K') | « runtime/vm/scopes.h ('k') | runtime/vm/snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698