We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code triggers the assertion (using impala and -emit-thorin):
struct Blob { done: fn () -> bool } fn test(next_blob: Blob) -> () { let next = |exit| { next_blob }; let mut blob : Blob; while !blob.done() { blob = next(continue); } }
The text was updated successfully, but these errors were encountered:
The problem ist that the continue continuation is passed as argument to next. Impala's emit doesn't handle this at the moment.
continue
next
emit
So actually, it's a bug in Impala.
Sorry, something went wrong.
leissa
No branches or pull requests
The following code triggers the assertion (using impala and -emit-thorin):
The text was updated successfully, but these errors were encountered: