Skip to content

Commit f20dc00

Browse files
committed
Force Elixir namespace for compile-time List.flatten/1 calls. Relates to #256
1 parent 6c03934 commit f20dc00

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/cldr/timezone.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ defmodule Cldr.Timezone do
2626
end)
2727
|> Enum.map(fn {k, v} ->
2828
case Cldr.validate_territory(k) do
29-
{:ok, territory} -> {territory, List.flatten(v)}
29+
{:ok, territory} -> {territory, Elixir.List.flatten(v)}
3030
{:error, _} -> nil
3131
end
3232
end)

lib/cldr/validity/u.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ defmodule Cldr.Validity.U do
115115
{k, nil} -> {String.to_atom(k), k}
116116
{k, v} -> {String.to_atom(v), k}
117117
end)
118-
|> List.flatten()
118+
|> Elixir.List.flatten()
119119
|> Map.new()
120120

121121
defp encode_key(unquote(key), value) when value in unquote(Map.keys(inverted_values)) do

0 commit comments

Comments
 (0)