diff options
author | Hans Bolinder <[email protected]> | 2019-03-27 12:54:46 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2019-04-08 13:58:40 +0200 |
commit | 9db8a098a90003424773b125b6e2031819f243fb (patch) | |
tree | 50137194702512c165ef9cabf7eec302c81b0e10 /lib/dialyzer/test/small_SUITE_data/results/bs_fail_constr | |
parent | f93862d2fe7e994523b1a6b2ca99635a4cf5bba3 (diff) | |
download | otp-9db8a098a90003424773b125b6e2031819f243fb.tar.gz otp-9db8a098a90003424773b125b6e2031819f243fb.tar.bz2 otp-9db8a098a90003424773b125b6e2031819f243fb.zip |
dialyzer: Fix pretty printing of binaries
Notice the comment in dialyzer_utils:
%% Copied from core_pp. The function cerl:binary_segments/2 should/could
%% be extended to handle literals, but then the cerl module cannot be
%% HiPE-compiled as of Erlang/OTP 22.0 (due to <<I:N>>).
When at it: simplify some common cases like "/binary-unit:8".
Diffstat (limited to 'lib/dialyzer/test/small_SUITE_data/results/bs_fail_constr')
-rw-r--r-- | lib/dialyzer/test/small_SUITE_data/results/bs_fail_constr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/dialyzer/test/small_SUITE_data/results/bs_fail_constr b/lib/dialyzer/test/small_SUITE_data/results/bs_fail_constr index dbc8241971..797f83956d 100644 --- a/lib/dialyzer/test/small_SUITE_data/results/bs_fail_constr +++ b/lib/dialyzer/test/small_SUITE_data/results/bs_fail_constr @@ -1,9 +1,9 @@ bs_fail_constr.erl:11: Function w3/1 has no local return -bs_fail_constr.erl:12: Binary construction will fail since the size field S in segment 42:S/integer-unit:1 has type neg_integer() +bs_fail_constr.erl:12: Binary construction will fail since the size field S in segment 42:S has type neg_integer() bs_fail_constr.erl:14: Function w4/1 has no local return bs_fail_constr.erl:15: Binary construction will fail since the value field V in segment V/utf32 has type float() bs_fail_constr.erl:5: Function w1/1 has no local return -bs_fail_constr.erl:6: Binary construction will fail since the value field V in segment V:8/integer-unit:1 has type float() +bs_fail_constr.erl:6: Binary construction will fail since the value field V in segment V has type float() bs_fail_constr.erl:8: Function w2/1 has no local return -bs_fail_constr.erl:9: Binary construction will fail since the value field V in segment V/binary-unit:8 has type atom() +bs_fail_constr.erl:9: Binary construction will fail since the value field V in segment V/binary has type atom() |