FIR checker: Report WRONG_MODIFIER_TARGET for suspend on

non-functional types.
This commit is contained in:
Mark Punzalan
2021-04-09 08:19:49 +00:00
committed by TeamCityServer
parent 9a4742c08d
commit b88913af1d
7 changed files with 76 additions and 13 deletions
@@ -95,6 +95,7 @@ object CommonDeclarationCheckers : DeclarationCheckers() {
FirKClassWithIncorrectTypeArgumentChecker,
FirTopLevelFunctionsChecker,
FirTopLevelPropertiesChecker,
FirSuspendOnInvalidTypeChecker,
)
override val controlFlowAnalyserCheckers: Set<FirControlFlowChecker>