Skip to content

Julia v0.7 @__MODULE__ problem #63

@Qiyamah

Description

@Qiyamah

Julia no longer supports @current_module, so in this regard every `@macromethod should has a built in current_module variable, right? is there a plan to implement it?

@macromethod  object(head, begin *{body} end) begin
      parse_head(head)
      parse_body(body)
end

body may include macros such as

@object SS begin
    @stub fun
end

while you are parsing the body , you may want to expand the macro with macroexpand which now takes the expression and the module.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions