Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index f60ab345f95fa026c43b842d891884eb83e7c579..d8cdad4407d5525d7d758e9a6d455a39608625ff 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -17610,7 +17610,7 @@ bool TypeParameter::IsEquivalent(const Instance& other, TrailPtr trail) const { |
void TypeParameter::set_parameterized_class(const Class& value) const { |
// Set value may be null. |
- classid_t cid = kIllegalCid; |
+ classid_t cid = kFunctionCid; // Denotes a function type parameter. |
if (!value.IsNull()) { |
cid = value.id(); |
} |
@@ -17625,7 +17625,7 @@ classid_t TypeParameter::parameterized_class_id() const { |
RawClass* TypeParameter::parameterized_class() const { |
classid_t cid = parameterized_class_id(); |
- if (cid == kIllegalCid) { |
+ if (cid == kFunctionCid) { |
return Class::null(); |
} |
return Isolate::Current()->class_table()->At(cid); |