Index: pkg/compiler/lib/src/kernel/element_map.dart |
diff --git a/pkg/compiler/lib/src/kernel/element_map.dart b/pkg/compiler/lib/src/kernel/element_map.dart |
index 7754187800e3f0206b6c37c88174f6f0a0b2d41d..11e45fcd35566d5d8377d815d8b7b4bef4e8cd45 100644 |
--- a/pkg/compiler/lib/src/kernel/element_map.dart |
+++ b/pkg/compiler/lib/src/kernel/element_map.dart |
@@ -43,6 +43,10 @@ abstract class KernelToElementMap { |
/// Returns the [InterfaceType] corresponding to [type]. |
InterfaceType getInterfaceType(ir.InterfaceType type); |
+ /// Returns the 'this type' of [cls]. That is, the instantiation of [cls] |
+ /// where the type arguments are the type variables of [cls]. |
+ InterfaceType getThisType(ClassEntity cls); |
+ |
/// Return the [InterfaceType] corresponding to the [cls] with the given |
/// [typeArguments]. |
InterfaceType createInterfaceType( |