Skip to content

Commit 272c4f0

Browse files
committed
Formatting
1 parent f541e71 commit 272c4f0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lib/elixir/lib/module/types/descr.ex

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2493,12 +2493,14 @@ defmodule Module.Types.Descr do
24932493

24942494
def map_union(map_literal(tag1, fields1), map_literal(tag2, fields2)) do
24952495
case maybe_optimize_map_union({tag1, fields1, []}, {tag2, fields2, []}) do
2496-
{tag, fields, []} -> map_literal(tag, fields)
2497-
nil ->
2496+
{tag, fields, []} ->
2497+
map_literal(tag, fields)
2498+
2499+
nil ->
24982500
case {{tag1, fields1}, {tag2, fields2}} do
24992501
{r, l} when l < r -> {l, :bdd_top, {r, :bdd_top, :bdd_bot}}
25002502
{l, r} -> {l, :bdd_top, {r, :bdd_top, :bdd_bot}}
2501-
end
2503+
end
25022504
end
25032505
end
25042506

0 commit comments

Comments
 (0)