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

Unified Diff: runtime/vm/object.cc

Issue 2796993002: Rename dart::Genericity::kClass to dart::Genericity::kCurrentClass to avoid (Closed)
Patch Set: Created 3 years, 8 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/object.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 2aed4a855b3641069f22fa154f14f837c41cefd3..83c6f9f5660c3db75a16b781fc522a663e4fbbff 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -17797,7 +17797,7 @@ bool TypeParameter::IsInstantiated(Genericity genericity,
switch (genericity) {
case kAny:
return false;
- case kClass:
+ case kCurrentClass:
return IsFunctionTypeParameter();
case kFunctions:
return IsClassTypeParameter();
« no previous file with comments | « runtime/vm/object.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698