Skip to content

wrong spec for Gmail.User.attachment/3? #17

@ckruse

Description

@ckruse

Dialyzer gives me an error for this code:

{:ok, attachment} = Gmail.User.attachment("foo@bar", mail.id, attachment_part.body.attachment_id)

The message is:

The pattern can never match the type.

Pattern:
{:ok, _attachment}

Type:
atom()

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