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

Machine: Allow block parameters with effects #184

Merged
merged 2 commits into from
Nov 9, 2022

Conversation

marzipankaiser
Copy link
Contributor

It seems that block parameters with effects in their type are only disallowed in the transformation of types.
Allowing them there makes them work in the LLVM (and JIT) backend(s).

Also added a test for this to the LLVM backend (examples/llvm/failtooption.effekt).

@phischu phischu merged commit 0c05ddb into master Nov 9, 2022
@phischu phischu deleted the feature/llvm-effectful-block-parameters branch November 9, 2022 17:12
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.

None yet

2 participants