Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/elixir/lib/record.ex
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,7 @@ defmodule Record do
raise ArgumentError, message: "record field default value #{inspect atom} can only contain " <>
"functions that point to an existing &Mod.fun/arity"
end
other
end

defp check_value(atom, other) when is_reference(other) or is_pid(other) or is_port(other) do
Expand Down