-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
scoping/escaping bug in @cfunction #565
Comments
It seems to be an escaping bug. Adding an @static if !isdefined(Base, Symbol("@cfunction"))
macro cfunction(f, rt, tup)
:(Base.cfunction($(esc(f)), $rt, Tuple{$tup...}))
end
export @cfunction
end I don't really understand why the |
Looks like the other arguments need to be escaped too: |
|
(Not 0.67.1 because I accidentally tagged that without updating the TOML file.) This fixes #565, which I need to update ZMQ.jl.
The
Compat.@cfunction
macro (#553) seems to have an escaping or scoping bug of some kind that prevents it from being used in a function. For example:cc @ararslan .
The text was updated successfully, but these errors were encountered: