Skip to content

Instantly share code, notes, and snippets.

@alco
Created July 14, 2014 09:55
Show Gist options
  • Save alco/88658abdefb0b3fa036d to your computer and use it in GitHub Desktop.
Save alco/88658abdefb0b3fa036d to your computer and use it in GitHub Desktop.
** (ArgumentError) argument error
:erlang.length(Kernel)
(elixir) lib/kernel/typespec.ex:494: Kernel.Typespec.type_to_signature/1
(elixir) lib/kernel/typespec.ex:286: anonymous fn/3 in Kernel.Typespec.defines_type?/3
(stdlib) lists.erl:1223: :lists.any/2
(elixir) lib/kernel/typespec.ex:289: Kernel.Typespec.defines_type?/3
lib/porcelain/process.ex:16: (module)
defstruct [:pid, :out, :err]
# Support for Elixir 0.14.3, backwards-compatible with previous versions
if Kernel.Typespec.defines_type?(__MODULE__, :t, 0) do
@type t :: %__MODULE__{}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment