diff options
author | John Högberg <[email protected]> | 2019-06-11 14:43:53 +0200 |
---|---|---|
committer | John Högberg <[email protected]> | 2019-06-12 13:33:46 +0200 |
commit | 4411b1953bfb862aad433c2269acb82a35b0cc72 (patch) | |
tree | 047b6c4ccc98e20f7011cb288263c0e94257eb10 /lib/ssl/test/ssl_certificate_verify_SUITE.erl | |
parent | af617aebe254da636b7d9c2ac59e1109998b0b1c (diff) | |
download | otp-4411b1953bfb862aad433c2269acb82a35b0cc72.tar.gz otp-4411b1953bfb862aad433c2269acb82a35b0cc72.tar.bz2 otp-4411b1953bfb862aad433c2269acb82a35b0cc72.zip |
beam_validator: Subtract types when inferring type test BIFs
This is a temporary solution for basic type tests. We'll need to
handle more-or-less arbitrary values once we introduce union
types, as we need to be able to subtract on tuple_arity tests as
well.
Without this, nearly all "no_opt" test suites will fail to compile
after the validator is migrated to 'beam_types' as a result of
atom subtraction producing 'none' when all alternatives have been
exhausted.
Diffstat (limited to 'lib/ssl/test/ssl_certificate_verify_SUITE.erl')
0 files changed, 0 insertions, 0 deletions