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(); |