FIR IDE: make constant evaluator robust to arithmetic exception
This commit is contained in:
committed by
Ilya Kirillov
parent
e5bff514b6
commit
c3c79b874d
@@ -132,7 +132,7 @@ abstract class ErrorValue : ConstantValue<Unit>(Unit) {
|
||||
Unit
|
||||
}
|
||||
|
||||
@Deprecated("Should not be called, for this is not a real value, but a indication of an error")
|
||||
@Deprecated("Should not be called, for this is not a real value, but an indication of an error")
|
||||
override val value: Unit
|
||||
get() = throw UnsupportedOperationException()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user