The current implementation of Test STM Expr does not allow nested exceptions. This commit adds nested exception by treating few values as exception values (ImmValueInt 0) and (ImmValueUnit) as special values to bubble up the exception.
WIP: Also add ImmValueException to enable testing type checking.
The current implementation of Test STM Expr does not allow nested exceptions. This commit adds nested exception by treating few values as exception values (
ImmValueInt 0
) and (ImmValueUnit
) as special values to bubble up the exception.WIP: Also add
ImmValueException
to enable testingtype checking
.