Samuel Tonini
2e9f4196cd
fix wrong error message for nil.func() call
The expected behavior for `nil.func()` should be:
iex(1)> nil.test()
** (UndefinedFunctionError) undefined function: nil.test/0
nil.test()
Also via cli `elixir -e`:
$ elixir -e 'nil.test()'
** (UndefinedFunctionError) undefined function: nil.test/0
nil.test()
....
Undefined function calls behave like:
iex(1)> hello()
** (RuntimeError) undefined function: hello/0
2013-11-01 13:55:33 +01:00
..
2013-11-01 13:55:33 +01:00
2013-10-31 11:36:05 +01:00
2013-10-26 22:28:51 -04:00