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

ivory-backend-c: defer exit after rendering check failures #15

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

sorki
Copy link
Member

@sorki sorki commented Mar 26, 2024

Introduce CompilationError type and use Either to indicate fatal error. Before the program would just die before outputting an actual check failure message.

Also nest runWriterT call so consumers don't need to call it by themselves.

Introduce `CompilationError` type and use Either to indicate
fatal error. Before the program would just die before outputting
an actual check failure message.

Also nest runWriterT call so consumers don't need to call it
by themselves.
@sorki sorki merged commit 5117a95 into main Mar 26, 2024
2 checks passed
@sorki sorki deleted the srk/checkFails branch March 26, 2024 12:27
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.

1 participant