Skip to content

Signs in integer literals trigger warning #1931

Closed
@ecpeterson

Description

@ecpeterson

Typing a function like

-spec f(LimitedInteger :: +1 | -1) -> any().

results in a few different ex_doc warnings, depending on what else appears in the signature, e.g., internal inconsistency or spec references type "+/1" but it is undefined or private.

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