diff options
author | Anthony Ramine <[email protected]> | 2014-03-04 02:08:06 +0100 |
---|---|---|
committer | Anthony Ramine <[email protected]> | 2014-03-04 02:08:06 +0100 |
commit | d5fc107d5ae384bfb7b7ea1a10291b75d821c666 (patch) | |
tree | d828cfb90dec8bfcb63dddd88a1c510d0b9f3954 /lib/compiler/src/sys_pre_expand.erl | |
parent | a74e66a68f3b4ed590f928b4fd4f0808c6287a32 (diff) | |
download | otp-d5fc107d5ae384bfb7b7ea1a10291b75d821c666.tar.gz otp-d5fc107d5ae384bfb7b7ea1a10291b75d821c666.tar.bz2 otp-d5fc107d5ae384bfb7b7ea1a10291b75d821c666.zip |
Properly detect nonboolean protected expressions in beam_bool
Silly code such as the following could make the compiler crash:
f() when erlang:float(self()); true -> ok.
Reported-by: Ulf Norell
Diffstat (limited to 'lib/compiler/src/sys_pre_expand.erl')
0 files changed, 0 insertions, 0 deletions