Created
July 14, 2014 09:55
-
-
Save alco/88658abdefb0b3fa036d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
** (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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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