-
Notifications
You must be signed in to change notification settings - Fork 76
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
fix @manipulate hygiene and add a test #185
Conversation
Edit: nope, not those issues |
Edit: no, that wasn't actually the problem |
This reverts commit 1096b03.
Edit: the |
Actually, the |
Thanks! Just one question, when I run this in IJulia:
It errors with "I (preserve) should not be called", is that expected? |
Uh, I see that too. That's...baffling. Running macroexpand(:(@manipulate for i in 1:10, j in ["x", "y", "z"]
2 * i, j * " hello"
end))
which seems to clearly show that |
Oh now I see. The error isn't coming from the call to |
Nice, yeah that makes sense. |
@manipulate
was escaping too many things, which meant that it relied on the user having doneusing Interact
andusing Reactive
. This change removes that requirement, and will also prevent weird errors in the case that a user has some local function calledsignal
orpreserve
.Fixes #184
Also fixes #156