erlang/otp — pull request #256 by nox (2014-03-01 17:17:13+00:00)
Title: Do not emit blatantly illformed Core Erlang apply expressions

(fun f/1)() should be compiled to let X = 'f'/1 in apply X () to let the compiler properly generate code that will fail with badarity at runtime.

@UlfNorell