Open
Description
openedon Mar 28, 2019
Sometimes it would be nice to know what method a macro is called from. One example: timholy/Revise.jl#259
This would be a huge change because the macro-function would have to go from a signature @mac(__source__, __module__, args...)
to @mac(__source__, __module__, __method__, args...)
. At toplevel I suppose we'd set __method__ = nothing
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment