diff options
author | Björn Gustavsson <[email protected]> | 2016-05-09 08:18:02 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-05-12 14:52:07 +0200 |
commit | a0bef9607f44c273a1dcebd639af3bc68f2c9872 (patch) | |
tree | d9ed2dc79c1bacf3ba32d6f4e3b2107f6d82f296 /lib/compiler/src/beam_z.erl | |
parent | 620ff5f6c52c34b874778025ae743c80f9d13f8e (diff) | |
download | otp-a0bef9607f44c273a1dcebd639af3bc68f2c9872.tar.gz otp-a0bef9607f44c273a1dcebd639af3bc68f2c9872.tar.bz2 otp-a0bef9607f44c273a1dcebd639af3bc68f2c9872.zip |
sys_core_fold: Don't generated failing calls such as 3(4)
Rewrite code such as:
X = not_a_fun,
X()
to:
error({badfun,not_a_fun})
Also generate a warning.
Diffstat (limited to 'lib/compiler/src/beam_z.erl')
0 files changed, 0 insertions, 0 deletions