We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b1915b1 + 9764f3f commit bfc165cCopy full SHA for bfc165c
lib/elixir/lib/record.ex
@@ -916,6 +916,7 @@ defmodule Record do
916
raise ArgumentError, message: "record field default value #{inspect atom} can only contain " <>
917
"functions that point to an existing &Mod.fun/arity"
918
end
919
+ other
920
921
922
defp check_value(atom, other) when is_reference(other) or is_pid(other) or is_port(other) do
0 commit comments