-
Notifications
You must be signed in to change notification settings - Fork 10
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
alts? throws alts! used not in (go ...) block
#2
Comments
Looks like the |
@raycheung Correct. I thought Rich Hickey once said that alts! is a real function, not just syntax (macros), but it is not wrappable and I think one has to treat it as syntax and wrap it in a macro unfortunately. @lsenta I think this has fixed it d291239. Thanks for reporting! Somehow it slipped through the tests, I have added one for it. |
I will release a new version soon, unless you find other issues. 😃 |
@raycheung The function boundary wrapping is a bit cumbersome, but understandable. All JVM libraries supporting fibers (they mention Erjang, I also know it from pulsar) do bytecode transformations. I just wish they had covered error handling in core.async, so wrapping all of it wasn't necessary. |
Thanks for sharing the limitations post and providing a fix for this issue. No other issues on my side, I'll wait for the next release, try |
Fixed with 0.2.6 release :) |
Hi,
First, thanks for sharing this lib and the rest of you work (konserve, etc) with the community.
I get an unexpected exception with alts?:
(S is the default supervisor).
Throws:
Using
alts!
instead behave as expected.The text was updated successfully, but these errors were encountered: