Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange warning due to usage of the library #3

Open
benonymus opened this issue Feb 8, 2022 · 0 comments
Open

Strange warning due to usage of the library #3

benonymus opened this issue Feb 8, 2022 · 0 comments

Comments

@benonymus
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant