FIR checker: introduce top-level function checker
This commit is contained in:
committed by
Mikhail Glukhikh
parent
df68f319bc
commit
9341ca3004
+4
@@ -59,6 +59,10 @@ object CommonDeclarationCheckers : DeclarationCheckers() {
|
||||
FirConstructorAllowedChecker,
|
||||
)
|
||||
|
||||
override val fileCheckers: Set<FirFileChecker> = setOf(
|
||||
FirTopLevelFunctionChecker,
|
||||
)
|
||||
|
||||
override val controlFlowAnalyserCheckers: Set<FirControlFlowChecker> = setOf(
|
||||
FirCallsEffectAnalyzer,
|
||||
FirReturnsImpliesAnalyzer,
|
||||
|
||||
Reference in New Issue
Block a user