Skip to content

Commit

Permalink
ignore warning
Browse files Browse the repository at this point in the history
  • Loading branch information
michallepicki committed Dec 27, 2024
1 parent 533e807 commit 8e2d78c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions dialyzer.exs
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,15 @@ defmodule Dialyzer do
),
do: filtered(comment: "overly_defensive code", id: @id, data: dialyzer_warning)

@id __ENC__.line
expected_counts = Map.put(expected_counts, @id, 1)

defp filter(
dialyzer_warning =
{:warn_matching, {~c"src/elixir_erl.erl", {515, 1}}, {:pattern_match, [~c"pattern <[], Opts>", ~c"<[any(),...],[any(),...]>"]}}
),
do: filtered(comment: "currently redundant clause because at least the ExCk chunk will be present", id: @id, data: dialyzer_warning)

@id __ENV__.line
expected_counts = Map.put(expected_counts, @id, 5)

Expand Down

0 comments on commit 8e2d78c

Please sign in to comment.