aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/indent_SUITE_data/results/queue_use
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2019-04-17 13:20:56 +0200
committerHans Bolinder <[email protected]>2019-05-07 08:25:03 +0200
commit77cbe3b6ced0ca42cf3ec5c8ca0333d9418a0372 (patch)
tree5e5e5f8785e10647ac62fb026134925ad64b053f /lib/dialyzer/test/indent_SUITE_data/results/queue_use
parentb0a7495c44ebf6741714948bdf5c0cb9593ec953 (diff)
downloadotp-77cbe3b6ced0ca42cf3ec5c8ca0333d9418a0372.tar.gz
otp-77cbe3b6ced0ca42cf3ec5c8ca0333d9418a0372.tar.bz2
otp-77cbe3b6ced0ca42cf3ec5c8ca0333d9418a0372.zip
dialyzer: Add test cases with indentation
A smallish selection of already existing tests, run with the indentation option.
Diffstat (limited to 'lib/dialyzer/test/indent_SUITE_data/results/queue_use')
-rw-r--r--lib/dialyzer/test/indent_SUITE_data/results/queue_use34
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/dialyzer/test/indent_SUITE_data/results/queue_use b/lib/dialyzer/test/indent_SUITE_data/results/queue_use
new file mode 100644
index 0000000000..b6604e5320
--- /dev/null
+++ b/lib/dialyzer/test/indent_SUITE_data/results/queue_use
@@ -0,0 +1,34 @@
+
+queue_use.erl:18: The call queue:is_empty
+ ({[], []}) does not have an opaque term of type
+ queue:queue(_) as 1st argument
+queue_use.erl:22: The call queue:in
+ (42,
+ Q0 :: {[], []}) does not have an opaque term of type
+ queue:queue(_) as 2nd argument
+queue_use.erl:27: The attempt to match a term of type
+ queue:queue(_) against the pattern
+ {"*", Q2} breaks the opacity of the term
+queue_use.erl:33: Attempt to test for equality between a term of type
+ {[42, ...], []} and a term of opaque type
+ queue:queue(_)
+queue_use.erl:36: The attempt to match a term of type
+ queue:queue(_) against the pattern
+ {F, _R} breaks the opacity of the term
+queue_use.erl:40: The call queue:out
+ ({"*", []}) does not have an opaque term of type
+ queue:queue(_) as 1st argument
+queue_use.erl:51: The call queue_use:is_in_queue
+ (E :: 42,
+ DB :: #db{p :: [], q :: queue:queue(_)}) contains an opaque term as 2nd argument when terms of different types are expected in these positions
+queue_use.erl:56: The attempt to match a term of type
+ #db{p :: [], q :: queue:queue(_)} against the pattern
+ {'db', _, {L1, L2}} breaks the opacity of
+ queue:queue(_)
+queue_use.erl:62: The call queue_use:tuple_queue
+ ({42, 'gazonk'}) does not have a term of type
+ {_, queue:queue(_)} (with opaque subterms) as 1st argument
+queue_use.erl:65: The call queue:in
+ (F :: 42,
+ Q :: 'gazonk') does not have an opaque term of type
+ queue:queue(_) as 2nd argument