From 320bfe173aedf71a60d2b3c69d6422fd4abcfd4a Mon Sep 17 00:00:00 2001 From: Stavros Aronis Date: Mon, 21 Mar 2011 18:35:48 +0200 Subject: Add small/guards --- lib/dialyzer/test/small_SUITE_data/results/guards | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lib/dialyzer/test/small_SUITE_data/results/guards (limited to 'lib/dialyzer/test/small_SUITE_data/results/guards') diff --git a/lib/dialyzer/test/small_SUITE_data/results/guards b/lib/dialyzer/test/small_SUITE_data/results/guards new file mode 100644 index 0000000000..824a7cfa24 --- /dev/null +++ b/lib/dialyzer/test/small_SUITE_data/results/guards @@ -0,0 +1,17 @@ + +guards.erl:100: The variable _ can never match since previous clauses completely covered the type {'true','true'} +guards.erl:111: The pattern {_, _} can never match since previous clauses completely covered the type {'false',boolean()} | {'true',boolean()} +guards.erl:122: The pattern {_, _} can never match since previous clauses completely covered the type {'false',boolean()} | {'true',boolean()} +guards.erl:129: Function t15_a/0 has no local return +guards.erl:129: The call guards:t15('a') will never return since it differs in the 1st argument from the success typing arguments: ('b') +guards.erl:129: The call guards:t15('c') will never return since it differs in the 1st argument from the success typing arguments: ('b') +guards.erl:136: Function t16_a/0 has no local return +guards.erl:136: The call guards:t16('a') will never return since it differs in the 1st argument from the success typing arguments: ('b') +guards.erl:136: The call guards:t16('c') will never return since it differs in the 1st argument from the success typing arguments: ('b') +guards.erl:55: Function t5/1 has no local return +guards.erl:55: Guard test is_integer(A::atom()) can never succeed +guards.erl:59: Clause guard cannot succeed. The variable A was matched against the type any() +guards.erl:59: Function t6/1 has no local return +guards.erl:67: The call guards:t7({42}) will never return since it differs in the 1st argument from the success typing arguments: (atom() | integer()) +guards.erl:75: The call guards:t8({42}) will never return since it differs in the 1st argument from the success typing arguments: (atom() | integer()) +guards.erl:92: The variable _ can never match since previous clauses completely covered the type {'true','true'} -- cgit v1.2.3