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

Unified Diff: runtime/vm/object.h

Issue 2567163002: Use kFunctionCid instead of kIllegalCid to indicate that a generic function (Closed)
Patch Set: Created 4 years 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/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 77b87e63a9a96b35a1d2df54549771b3dfa958f6..7b973fa4446b168d400970179955c9263149d7a4 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -6057,7 +6057,7 @@ class TypeParameter : public AbstractType {
return raw_ptr()->parameterized_function_;
}
bool IsClassTypeParameter() const {
- return parameterized_class_id() != kIllegalCid;
+ return parameterized_class_id() != kFunctionCid;
}
bool IsFunctionTypeParameter() const {
return parameterized_function() != Function::null();
« no previous file with comments | « no previous file | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698