Sure, but I was talking about reporting the name in the error. Neither

   Foo."bar baz"/3

nor

  Foo.bar baz/3

is legal syntax, so I don't know if it is important to distinguish the
separate case.




On Wed, Jan 22, 2014 at 11:37 AM, José Valim <notifications@github.com>wrote:

> In lib/elixir/test/elixir/exception_test.exs:
>
> > @@ -57,7 +57,8 @@ defmodule Kernel.ExceptionTest do
> >      assert Exception.format_mfa(Foo, :bar, []) == "Foo.bar()"
> >      assert Exception.format_mfa(nil, :bar, []) == "nil.bar()"
> >      assert Exception.format_mfa(:foo, :bar, [1, 2]) == ":foo.bar(1, 2)"
> > -    assert Exception.format_mfa(Foo, :"bar baz", 1) == "Foo.\"bar baz\"/1"
> > +    assert Exception.format_mfa(Foo, :"bar baz", 1) == "Foo.bar baz/1"
>
> You can actually call a function using "quotes". Kernel."+"(1, 2) #=> 3.
> You can't define it easily (but it is usually done by macros).
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/elixir-lang/elixir/pull/2011/files#r9088709>
> .
>