Skip to content

Strange warning due to usage of the library #3

@benonymus

Description

@benonymus

Hey,

I started to play around with this library in a project, and when I compile the code I get these warnings:

warning: this clause cannot match because a previous clause at line 73 always matches
Warning: lib/projx/sessions/schemas/session.ex:145

warning: this clause cannot match because a previous clause at line 73 always matches
Warning: lib/projx/sessions/schemas/session.ex:158

warning: this clause cannot match because a previous clause at line 73 always matches
Warning: lib/projx/sessions/transcripts.ex:195

The lines it is pointing to is where I have |> Pipe.ok(),
but where it says the previous clause is, there is nothing, in one file comments for example, other completely other function.
If I remove |> Pipe.ok() the warning goes away.

I am on elixir1.13.1

Any ideas?

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