diff options
author | Anthony Ramine <[email protected]> | 2014-03-01 18:13:15 +0100 |
---|---|---|
committer | Anthony Ramine <[email protected]> | 2014-03-01 18:13:15 +0100 |
commit | 1b8ad68361db59477013bf96e485d5293723ff42 (patch) | |
tree | a427a18973d0a032e62cbb39d1f66317f6d7c45f /lib/hipe/icode/hipe_icode_fp.erl | |
parent | db911c1f15372d2dadf06e8502506b0936a4fbb3 (diff) | |
download | otp-1b8ad68361db59477013bf96e485d5293723ff42.tar.gz otp-1b8ad68361db59477013bf96e485d5293723ff42.tar.bz2 otp-1b8ad68361db59477013bf96e485d5293723ff42.zip |
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.
Reported-by: Ulf Norell
Diffstat (limited to 'lib/hipe/icode/hipe_icode_fp.erl')
0 files changed, 0 insertions, 0 deletions