Skip to content

LoadError when throwing exception from macro #24825

@andreasnoack

Description

@andreasnoack

On

Version 0.7.0-DEV.2675 (2017-11-27 20:28 UTC)
Commit f383276c5b (1 day old master)

I get

julia> macro myerror()
           throw(ErrorException(""))
       end
@myerror (macro with 1 method)

julia> @myerror()
ERROR: LoadError:
Stacktrace:
 [1] @myerror(::LineNumberNode, ::Module) at ./REPL[3]:2
in expression starting at REPL[4]:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions