[FIR] Implement DIVISION_BY_ZERO diagnostics, fix tests

This commit is contained in:
Ivan Kochurkin
2021-04-08 18:48:42 +03:00
committed by TeamCityServer
parent 964bba3530
commit 847ab40707
14 changed files with 78 additions and 11 deletions
@@ -32,6 +32,7 @@ object CommonExpressionCheckers : ExpressionCheckers() {
override val functionCallCheckers: Set<FirFunctionCallChecker> = setOf(
FirConventionFunctionCallChecker,
FirDivisionByZeroChecker
)
override val tryExpressionCheckers: Set<FirTryExpressionChecker> = setOf(