FIR checker: introduce FunctionChecker alias

and use it to add support diagnostic FUNCTION_DECLARATION_WITH_NO_NAME
This commit is contained in:
Jinseong Jeon
2021-01-15 23:21:24 -08:00
committed by Mikhail Glukhikh
parent 40bec30393
commit de592f4f67
17 changed files with 66 additions and 52 deletions
@@ -28,6 +28,10 @@ object CommonDeclarationCheckers : DeclarationCheckers() {
FirSealedSupertypeChecker,
)
override val functionCheckers: Set<FirFunctionChecker> = setOf(
FirFunctionNameChecker,
)
override val propertyCheckers: Set<FirPropertyChecker> = setOf(
FirInapplicableLateinitChecker,
FirDestructuringDeclarationInitializerChecker,