jeremyjh / dialyxir

Mix tasks to simplify use of Dialyzer in Elixir projects.
Apache License 2.0
1.69k stars 141 forks source link

Failed to parse warning #460

Open jeroenbourgois opened 2 years ago

jeroenbourgois commented 2 years ago

Precheck

Environment

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)

 "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 commented 1 year ago

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)