diff options
author | John Högberg <[email protected]> | 2019-05-24 10:43:14 +0200 |
---|---|---|
committer | John Högberg <[email protected]> | 2019-06-11 15:47:38 +0200 |
commit | c02fc618f98c9fb97b15aae97e11fa1c23e250fc (patch) | |
tree | 42b05084606ccdc5c9c82d86cbc9e530ed21569e /xcomp | |
parent | 5ea8e4707dfacfe94bff73336bfe07f12880c1aa (diff) | |
download | otp-c02fc618f98c9fb97b15aae97e11fa1c23e250fc.tar.gz otp-c02fc618f98c9fb97b15aae97e11fa1c23e250fc.tar.bz2 otp-c02fc618f98c9fb97b15aae97e11fa1c23e250fc.zip |
beam_ssa_type: Fix 'band' type determination
The use of meet/2 was incorrect as we weren't guaranteed to provide
a more specific type. This is unlikely to cause errors in OTP 22 as
our ranges were *always* '0 .. X' or 'X .. X', and a meet/2 of two
integers would take the least specific minimum value and most
specific maximum value, making things work by accident.
This is covered by beam_type_SUITE:integers/1, and was made
visible when beam_types:meet/2 was fixed to reject integers that
didn't overlap fully.
Diffstat (limited to 'xcomp')
0 files changed, 0 insertions, 0 deletions