Skip to content

Commit

Permalink
clean up no longer detected not annotated exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
michallepicki committed Jun 14, 2024
1 parent 5bed23f commit a7d22a6
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions dialyzer.exs
Original file line number Diff line number Diff line change
Expand Up @@ -413,15 +413,6 @@ defmodule Dialyzer do
@id __ENV__.line
expected_counts = Map.put(expected_counts, @id, 1)

defp filter(
dialyzer_warning =
{:warn_return_no_exit, {~c"lib/iex.ex", 695}, {:no_return, [:only_normal]}}
),
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_quote.erl", _},
Expand Down Expand Up @@ -534,33 +525,6 @@ defmodule Dialyzer do
@id __ENV__.line
expected_counts = Map.put(expected_counts, @id, 1)

defp filter(
dialyzer_warning =
{:warn_return_no_exit, {~c"lib/mix/tasks/archive.install.ex", 149}, {:no_return, [:only_normal]}}
),
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"lib/mix/tasks/format.ex", 488}, {:no_return, [:only_normal]}}
),
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"lib/mix/tasks/release.ex", 1229}, {:no_return, [:both]}}
),
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"lib/iex/cli.ex", 112}, {:no_return, [:only_normal]}}
),
Expand Down

0 comments on commit a7d22a6

Please sign in to comment.