FIR IDE: make constant evaluator robust to arithmetic exception

This commit is contained in:
Jinseong Jeon
2021-10-28 00:10:20 -07:00
committed by Ilya Kirillov
parent e5bff514b6
commit c3c79b874d
10 changed files with 35 additions and 8 deletions
@@ -66,6 +66,7 @@ abstract class AbstractCompileTimeConstantEvaluatorTest(
append(", ")
append("value=${value})")
}
is KtErrorValue -> "KtErrorValue($message)"
is KtUnsupportedConstantValue -> "KtUnsupportedConstantValue"
}
}