FIR: Fix "unreachable branch in when" warning

This commit is contained in:
Roman Golyshev
2022-01-12 15:45:13 +03:00
committed by teamcity
parent 1326ca674e
commit 939e4d1e77
@@ -108,7 +108,6 @@ interface FirDeclarationPresenter {
fun StringBuilder.appendRepresentation(it: FirTypeRef) {
when (it) {
is FirResolvedTypeRef -> appendRepresentation(it.type)
is FirErrorTypeRef -> append("ERROR")
else -> append("?")
}
}