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