Minor: remove when unreachable branches
This commit is contained in:
@@ -108,13 +108,9 @@ class FirTypeResolverImpl(private val session: FirSession) : FirTypeResolver {
|
|||||||
is FirUserTypeRef -> {
|
is FirUserTypeRef -> {
|
||||||
resolveUserType(typeRef, resolveToSymbol(typeRef, scope), scope)
|
resolveUserType(typeRef, resolveToSymbol(typeRef, scope), scope)
|
||||||
}
|
}
|
||||||
is FirErrorTypeRef -> typeRef.type
|
|
||||||
is FirFunctionTypeRef -> {
|
is FirFunctionTypeRef -> {
|
||||||
createFunctionalType(typeRef)
|
createFunctionalType(typeRef)
|
||||||
}
|
}
|
||||||
is FirImplicitBuiltinTypeRef -> {
|
|
||||||
resolveToSymbol(typeRef, scope)!!.constructType(emptyList(), isNullable = false, symbolOriginSession = session)
|
|
||||||
}
|
|
||||||
is FirDelegatedTypeRef -> {
|
is FirDelegatedTypeRef -> {
|
||||||
resolveType(typeRef.typeRef, scope)
|
resolveType(typeRef.typeRef, scope)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user