[FIR] Add toString() methods to some ConeSubstitutor implementation

This is needed only for pleasant debugging
This commit is contained in:
Dmitriy Novozhilov
2023-06-07 15:42:38 +03:00
committed by Space Team
parent ba6f8e9b23
commit 8b7cfcda10
3 changed files with 36 additions and 1 deletions
@@ -30,4 +30,8 @@ private class TypeVariableTypeRemovingSubstitutor(typeContext: ConeTypeContext)
}
return ConeErrorType(ConeUnknownLambdaParameterTypeDiagnostic())
}
override fun toString(): String {
return "{<Type variable> -> <Error type>}"
}
}