elixir-cldr / cldr

Elixir implementation of CLDR/ICU

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spurious warnings "redefining module MyApp.Cldr..."

bortzmeyer opened this issue · comments

My mix.exs includes:

  defp deps do
    [
      {:jason, "~> 1.0"},
      {:ex_cldr_numbers, "~> 2.30"}
    ]
  end

But everytime I mix run, I get a lot of warnings:

warning: redefining module MyApp.Cldr.Number.Transliterate (current version loaded from _build/dev/lib/test_cldr/ebin/Elixir.MyApp.Cldr.Number.Transliterate.beam)
  lib/test_cldr.ex:1

warning: redefining module MyApp.Cldr.Number.System (current version loaded from _build/dev/lib/test_cldr/ebin/Elixir.MyApp.Cldr.Number.System.beam)
  lib/test_cldr.ex:1

warning: redefining module MyApp.Cldr.Number.Symbol (current version loaded from _build/dev/lib/test_cldr/ebin/Elixir.MyApp.Cldr.Number.Symbol.beam)
  lib/test_cldr.ex:1

warning: redefining module MyApp.Cldr.Number.Formatter.Decimal (current version loaded from _build/dev/lib/test_cldr/ebin/Elixir.MyApp.Cldr.Number.Formatter.Decimal.beam)
  lib/test_cldr.ex:1

...

The problem looks a bit like #194 but the solution in #194 does not work.

% elixir --version
Erlang/OTP 24 [erts-12.2.1] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit]

Elixir 1.12.2 (compiled with Erlang/OTP 24)

This is definitely a different issue to #194. I'll close this issue so we can concentrate on #200 since its the same issue.