Skip to content

[Stacktraces] Name of the macro instead of macro expand #35360

@vchuravy

Description

@vchuravy
julia> f() = @time error()
f (generic function with 1 method)

julia> f()
ERROR: 
Stacktrace:
 [1] error() at ./error.jl:42
 [2] macro expansion at ./util.jl:175 [inlined]
 [3] f() at ./REPL[2]:1
 [4] top-level scope at REPL[3]:1

Would be great if [2] could have been [2] @time expansion at ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    compiler:loweringSyntax lowering (compiler front end, 2nd stage)error messagesBetter, more actionable error messagesfeatureIndicates new feature / enhancement requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions