Skip to content

Commit

Permalink
Update dialyzer.exs
Browse files Browse the repository at this point in the history
  • Loading branch information
michallepicki authored Dec 5, 2023
1 parent 6844529 commit 329065e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dialyzer.exs
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,18 @@ defmodule Dialyzer do
),
do: filtered(comment: "not annotated exception", id: @id, data: dialyzer_warning)


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

defp filter(
dialyzer_warning =
{:warn_return_no_exit, {~c"src/elixir_errors.erl", _},
{:no_return, [:only_normal, :raise_token_missing, 4]}}
),
do: filtered(comment: "not annotated exception", id: @id, data: dialyzer_warning)


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

Expand Down

0 comments on commit 329065e

Please sign in to comment.