You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While extending functions and macros works the same when importing them (like import OtherPackage: @theirmacro), using qualified definitions only works for functions.
works:
function OtherPackage.theirfunction(args...)
# worksend
As a outcome from this discourse issue https://discourse.julialang.org/t/how-to-define-a-macro-via-package-extension/114218/5
I want to open an issue to track that the syntax to extend functions and macros do not match.
While extending functions and macros works the same when importing them (like
import OtherPackage: @theirmacro
), using qualified definitions only works for functions.works:
doesn't work:
As the functionality of extending is already support for both, it would be great if also the syntax support is consistent.
The text was updated successfully, but these errors were encountered: