Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Solve bootstrap issues on defdelegate
  • Loading branch information
José Valim committed Oct 6, 2015
1 parent 56fbcfc commit 9c86f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elixir/lib/kernel.ex
Expand Up @@ -3702,7 +3702,7 @@ defmodule Kernel do
for fun <- List.wrap(funs) do
{name, args, as, as_args} = Kernel.Def.delegate(fun, opts)
unless Module.get_attribute(__MODULE__, :doc) do
@doc "See `#{inspect target}.#{as}/#{length as_args}`."
@doc "See `#{inspect target}.#{as}/#{:erlang.length as_args}`."
end
def unquote(name)(unquote_splicing(args)) do
unquote(target).unquote(as)(unquote_splicing(as_args))
Expand Down

0 comments on commit 9c86f5b

Please sign in to comment.