FIR: Introduce CONST_VAL_NOT_TOP_LEVEL_OR_OBJECT diagnostic

This commit is contained in:
Br0mm
2021-02-04 13:44:35 +03:00
committed by Mikhail Glukhikh
parent 6c2eaf2df8
commit dd3bc1a964
16 changed files with 242 additions and 8 deletions
@@ -35,6 +35,7 @@ object CommonDeclarationCheckers : DeclarationCheckers() {
override val propertyCheckers: Set<FirPropertyChecker> = setOf(
FirInapplicableLateinitChecker,
FirDestructuringDeclarationChecker,
FirConstPropertyChecker,
)
override val classCheckers: Set<FirClassChecker> = setOf(