FIR: Fix "unreachable branch in when" warning
This commit is contained in:
-1
@@ -108,7 +108,6 @@ interface FirDeclarationPresenter {
|
|||||||
fun StringBuilder.appendRepresentation(it: FirTypeRef) {
|
fun StringBuilder.appendRepresentation(it: FirTypeRef) {
|
||||||
when (it) {
|
when (it) {
|
||||||
is FirResolvedTypeRef -> appendRepresentation(it.type)
|
is FirResolvedTypeRef -> appendRepresentation(it.type)
|
||||||
is FirErrorTypeRef -> append("ERROR")
|
|
||||||
else -> append("?")
|
else -> append("?")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user