Drop redundant Suppress("RemoveExplicitTypeArguments")
This commit is contained in:
-1
@@ -125,7 +125,6 @@ class FirStatusResolver(
|
||||
return emptyList()
|
||||
}
|
||||
|
||||
@Suppress("RemoveExplicitTypeArguments") // Workaround for KT-42175
|
||||
return buildList<FirCallableDeclaration> {
|
||||
val scope = containingClass.unsubstitutedScope(session, scopeSession, withForcedTypeCalculator = false)
|
||||
val symbol = function.symbol
|
||||
|
||||
+2
-3
@@ -36,16 +36,15 @@ fun <F : FirClassLikeDeclaration> F.runTypeResolvePhaseForLocalClass(
|
||||
useSiteFile: FirFile,
|
||||
containingDeclarations: List<FirDeclaration>,
|
||||
): F {
|
||||
@Suppress("RemoveExplicitTypeArguments")
|
||||
val transformer = FirTypeResolveTransformer(
|
||||
session,
|
||||
scopeSession,
|
||||
currentScopeList,
|
||||
initialCurrentFile = useSiteFile,
|
||||
classDeclarationsStack = containingDeclarations.filterIsInstanceTo<FirClass, ArrayDeque<FirClass>>(ArrayDeque())
|
||||
classDeclarationsStack = containingDeclarations.filterIsInstanceTo(ArrayDeque())
|
||||
)
|
||||
|
||||
return this.transform<F, Nothing?>(transformer, null)
|
||||
return this.transform(transformer, null)
|
||||
}
|
||||
|
||||
open class FirTypeResolveTransformer(
|
||||
|
||||
Reference in New Issue
Block a user