From 4479adb561e41d5180296ccc43e24d306a6ba675 Mon Sep 17 00:00:00 2001 From: Vicente Merlo Date: Wed, 7 Feb 2024 07:15:25 -0300 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 2ffe734..948b95b 100644 --- a/mix.exs +++ b/mix.exs @@ -45,7 +45,6 @@ defmodule Jason.Mixfile do defp dialyzer() do [ - ignore_warnings: "dialyzer.ignore", plt_add_apps: [:decimal, :jason_native] ] end