diff options
author | Richard Carlsson <[email protected]> | 2018-05-09 11:04:16 +0200 |
---|---|---|
committer | Richard Carlsson <[email protected]> | 2018-05-09 11:04:16 +0200 |
commit | 275f51a34c1c2d9c4d31dad918a7a3b5c3631313 (patch) | |
tree | 7524628f5c00c82727c0e56490210c82e6421c46 /lib/dialyzer/test | |
parent | 123b0d73a54062a983e16d90cfde466abc4226bc (diff) | |
download | otp-275f51a34c1c2d9c4d31dad918a7a3b5c3631313.tar.gz otp-275f51a34c1c2d9c4d31dad918a7a3b5c3631313.tar.bz2 otp-275f51a34c1c2d9c4d31dad918a7a3b5c3631313.zip |
Fix minor issues
Diffstat (limited to 'lib/dialyzer/test')
-rw-r--r-- | lib/dialyzer/test/options1_SUITE_data/results/compiler | 2 | ||||
-rw-r--r-- | lib/dialyzer/test/r9c_SUITE_data/src/inets/mod_esi.erl | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/dialyzer/test/options1_SUITE_data/results/compiler b/lib/dialyzer/test/options1_SUITE_data/results/compiler index cbb5115c91..e1dc038800 100644 --- a/lib/dialyzer/test/options1_SUITE_data/results/compiler +++ b/lib/dialyzer/test/options1_SUITE_data/results/compiler @@ -28,7 +28,7 @@ cerl_inline.erl:2750: The pattern <{[], L, D}, Vs> can never match the type <[1. cerl_inline.erl:2752: The pattern <{[], _L, D}, Vs> can never match the type <[1..255,...],[any()]> cerl_inline.erl:2754: The pattern <{F, L, D}, Vs> can never match the type <[1..255,...],[any()]> cerl_inline.erl:2756: The pattern <{F, _L, D}, Vs> can never match the type <[1..255,...],[any()]> -compile.erl:788: The pattern {'error', Es} can never match the type {'ok',<<_:64,_:_*8>>} +compile.erl:792: The pattern {'error', Es} can never match the type {'ok',<<_:64,_:_*8>>} core_lint.erl:473: The pattern <{'c_atom', _, 'all'}, 'binary', _Def, St> can never match the type <_,#c_nil{} | {'c_atom' | 'c_char' | 'c_float' | 'c_int' | 'c_string' | 'c_tuple',_,_} | #c_cons{hd::#c_nil{} | {'c_atom' | 'c_char' | 'c_float' | 'c_int' | 'c_string' | 'c_tuple',_,_} | #c_cons{hd::{_,_} | {_,_,_} | {_,_,_,_},tl::{_,_} | {_,_,_} | {_,_,_,_}},tl::#c_nil{} | {'c_atom' | 'c_char' | 'c_float' | 'c_int' | 'c_string' | 'c_tuple',_,_} | #c_cons{hd::{_,_} | {_,_,_} | {_,_,_,_},tl::{_,_} | {_,_,_} | {_,_,_,_}}},[any()],_> core_lint.erl:505: The pattern <_Req, 'unknown', St> can never match the type <non_neg_integer(),non_neg_integer(),_> sys_pre_expand.erl:625: Call to missing or unexported function erlang:hash/2 diff --git a/lib/dialyzer/test/r9c_SUITE_data/src/inets/mod_esi.erl b/lib/dialyzer/test/r9c_SUITE_data/src/inets/mod_esi.erl index d9d27bf8d3..ce144e061f 100644 --- a/lib/dialyzer/test/r9c_SUITE_data/src/inets/mod_esi.erl +++ b/lib/dialyzer/test/r9c_SUITE_data/src/inets/mod_esi.erl @@ -352,9 +352,7 @@ eval_str(Str) when is_list(Str) -> {error, ?result("Non-white space found after " "end-of-form :~ts", [Rest])} end - end; -eval_str(Bin) when is_binary(Bin) -> - eval_str(binary_to_list(Bin)). + end. all_white([$\s|T]) -> all_white(T); all_white([$\n|T]) -> all_white(T); |