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

Failed to parse warning #460

Open
jeroenbourgois opened this issue Jun 8, 2022 · 1 comment
Open

Failed to parse warning #460

jeroenbourgois opened this issue Jun 8, 2022 · 1 comment

Comments

@jeroenbourgois
Copy link

Precheck

  • Take a look at the open issues and be sure that your issue is not already covered.
  • Be sure your versions of Dialyxir and Erlex are up to date.

Environment

  • Elixir & Erlang/OTP versions (elixir --version):

Erlang/OTP 24 [erts-12.3] [source] [64-bit] [smp:32:32] [ds:32:32:10] [async-threads:1] [jit]
Elixir 1.13.2 (compiled with Erlang/OTP 24)

  • Which version of Dialyxir are you using? (cat mix.lock | grep dialyxir):
    1.1.0
 "dialyxir": {:hex, :dialyxir, "1.1.0", "c5aab0d6e71e5522e77beff7ba9e08f8e02bad90dfbeffae60eaf0cb47e29488", [:mix], [{:erlex, ">= 0.2.6", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "07ea8e49c45f15264ebe6d5b93799d4dd56a44036cf42d0ad9c960bc266c0b9a"}
Failed to parse warning:
[<: 1, >: 1]


Legacy warning:
lib/justified/helpers/file_helpers.ex:207: The pattern <> can never match since previous clauses completely covered the type <>
@woylie
Copy link

woylie commented Feb 4, 2023

I saw the same warning. In my case, it was caused by a defdelegate pointing to a non-existent function.

Dialyxir 1.2.0
Erlang/OTP 25 [erts-13.1.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit]
Elixir 1.14.2 (compiled with Erlang/OTP 25)

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

2 participants