Skip to content

Julep: @__METHOD__ macro #31515

Open
Open

Description

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

Metadata

Assignees

No one assigned

    Labels

    julepJulia Enhancement Proposal

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions