Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add exception to STM Expr for testing #35

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

yogeshsajanikar
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for nested exception testing in Test/STM
1 participant