Skip to content

Macros guide: Wrong arity of alias!/1 #1190

@FumioNonaka

Description

@FumioNonaka

https://github.com/elixir-lang/elixir-lang.github.com/edit/master/getting-started/meta/macros.markdown#L182

Elixir provides similar mechanisms for imports and aliases too. This guarantees that a macro will behave as specified by its source module rather than conflicting with the target module where the macro is expanded. Hygiene can be bypassed under specific situations by using macros like var!/2 and alias!/2, although one must be careful when using those as they directly change the user environment.

alias!/2 might be alias!/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