Skip to content

Emit warnings if undefined function is called on a required module #4540

@josevalim

Description

@josevalim

Both Elixir and Erlang do not expect the function you are calling to exist during compilation time. However, if a module has been required, we could perform such checks because then, by definition, it is available during compilation time.

The idea of this feature is to check if a function actually exists when compiling code and the function being called belongs to a module that has been required.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions