From b2a9ad079d6d7173712ece516f5db993ff312606 Mon Sep 17 00:00:00 2001 From: Mikhail Glukhikh Date: Fri, 24 Jun 2022 10:01:22 +0200 Subject: [PATCH] Fix unreachable branch in ConeKotlinType.render() --- .../cones/src/org/jetbrains/kotlin/fir/types/TypeRenderer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/fir/cones/src/org/jetbrains/kotlin/fir/types/TypeRenderer.kt b/compiler/fir/cones/src/org/jetbrains/kotlin/fir/types/TypeRenderer.kt index 6e53abd1143..f1e729135de 100644 --- a/compiler/fir/cones/src/org/jetbrains/kotlin/fir/types/TypeRenderer.kt +++ b/compiler/fir/cones/src/org/jetbrains/kotlin/fir/types/TypeRenderer.kt @@ -39,8 +39,8 @@ fun ConeKotlinType.render(): String { postfix = ")" ) } - is ConeStubTypeForChainInference -> "${renderAttributes()}Stub (chain inference): ${constructor.variable}" is ConeStubTypeForSyntheticFixation -> "${renderAttributes()}Stub (fixation): ${constructor.variable}" + is ConeStubTypeForChainInference -> "${renderAttributes()}Stub (chain inference): ${constructor.variable}" is ConeStubType -> "${renderAttributes()}Stub (subtyping): ${constructor.variable}" is ConeIntegerLiteralConstantType -> "${renderAttributes()}ILT: $value" is ConeIntegerConstantOperatorType -> "${renderAttributes()}IOT"