diff --git a/compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/FirDeclarationInspector.kt b/compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/FirDeclarationInspector.kt index 016e582acc7..81b13281c4b 100644 --- a/compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/FirDeclarationInspector.kt +++ b/compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/FirDeclarationInspector.kt @@ -108,7 +108,6 @@ interface FirDeclarationPresenter { fun StringBuilder.appendRepresentation(it: FirTypeRef) { when (it) { is FirResolvedTypeRef -> appendRepresentation(it.type) - is FirErrorTypeRef -> append("ERROR") else -> append("?") } }