From 9c3bc4b679591d1ec1d8edbfb1cd06240ac1b807 Mon Sep 17 00:00:00 2001 From: Vicente Merlo Date: Sat, 29 Jun 2024 16:35:33 +0100 Subject: [PATCH] Removes unused Dialyzer ignored warnings (#182) From OTP 26, the Dialyzer warnings for Jason.Encoder's __impl__ unknown functions are not being raised anymore. This makes the ignored warnings unnecessary, especially because CI only runs Dialyzer with Elixir 1.15 and OTP 26. Co-authored-by: antedeguemon --- dialyzer.ignore | 5 ----- mix.exs | 1 - 2 files changed, 6 deletions(-) delete mode 100644 dialyzer.ignore diff --git a/dialyzer.ignore b/dialyzer.ignore deleted file mode 100644 index 8eaa21b..0000000 --- a/dialyzer.ignore +++ /dev/null @@ -1,5 +0,0 @@ -Unknown function 'Elixir.Jason.Encoder.Function':'__impl__'/1 -Unknown function 'Elixir.Jason.Encoder.PID':'__impl__'/1 -Unknown function 'Elixir.Jason.Encoder.Port':'__impl__'/1 -Unknown function 'Elixir.Jason.Encoder.Reference':'__impl__'/1 -Unknown function 'Elixir.Jason.Encoder.Tuple':'__impl__'/1 diff --git a/mix.exs b/mix.exs index fbadd3a..ed8379b 100644 --- a/mix.exs +++ b/mix.exs @@ -44,7 +44,6 @@ defmodule Jason.Mixfile do defp dialyzer() do [ - ignore_warnings: "dialyzer.ignore", plt_add_apps: [:decimal] ] end