Skip to content

Commit 49a5b8f

Browse files
author
José Valim
committed
Properly quote | expressions, related to #944
1 parent f49c351 commit 49a5b8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/record.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ defmodule Record do
578578

579579
defp options_specs([{ k, _, v }|t]) do
580580
:lists.foldl fn { k, _, v }, acc ->
581-
{ :|, [], { k, v }, acc }
581+
{ :|, [], [{ k, v }, acc] }
582582
end, { k, v }, t
583583
end
584584

0 commit comments

Comments
 (0)