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

Bug: missing value_to_bool for NoReturn #13289

Closed
straight-shoota opened this issue Apr 5, 2023 · 0 comments · Fixed by #13290
Closed

Bug: missing value_to_bool for NoReturn #13289

straight-shoota opened this issue Apr 5, 2023 · 0 comments · Fixed by #13290
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler:interpreter

Comments

@straight-shoota
Copy link
Member

straight-shoota commented Apr 5, 2023

The changes in #13278 surfaced a compiler error in the interpreter:

(3..).reverse_each { } # Error: BUG: missing value_to_bool for NoReturn (Crystal::NoReturnType)

https://github.com/crystal-lang/crystal/actions/runs/4609247266/jobs/8148834738

@straight-shoota straight-shoota added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler:interpreter labels Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler:interpreter
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant