Rename: ConeTypeVariableType.lookupTag -> typeConstructor

This commit is contained in:
Mikhail Glukhikh
2023-11-13 13:29:53 +01:00
committed by Space Team
parent 1ceec4d6d7
commit 53ab32e0fb
15 changed files with 20 additions and 21 deletions
@@ -10,7 +10,7 @@ import org.jetbrains.kotlin.fir.types.*
fun ConeKotlinType.renderForDebugInfo(): String {
val nullabilitySuffix = if (this !is ConeErrorType && this !is ConeErrorType) nullability.suffix else ""
return when (this) {
is ConeTypeVariableType -> "TypeVariable(${this.lookupTag.name})"
is ConeTypeVariableType -> "TypeVariable(${this.typeConstructor.name})"
is ConeDefinitelyNotNullType -> "${original.renderForDebugInfo()}!!"
is ConeErrorType -> "ERROR CLASS: ${diagnostic.reason}"
is ConeCapturedType -> "CapturedType(${constructor.projection.renderForDebugInfo()})"