From 92a672ff8159741ebbc9f3eb11e8a81d7067d2c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20L=C3=A5ng?= Date: Sat, 27 Feb 2016 23:29:43 +0100 Subject: dialyzer_typesig: Add map support --- lib/dialyzer/test/small_SUITE_data/results/literals | 1 + lib/dialyzer/test/small_SUITE_data/results/maps1 | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/dialyzer/test/small_SUITE_data/results') diff --git a/lib/dialyzer/test/small_SUITE_data/results/literals b/lib/dialyzer/test/small_SUITE_data/results/literals index 5d611f520b..883e982134 100644 --- a/lib/dialyzer/test/small_SUITE_data/results/literals +++ b/lib/dialyzer/test/small_SUITE_data/results/literals @@ -13,3 +13,4 @@ literals.erl:26: Function m2/1 has no local return literals.erl:26: Matching of pattern {'r', 'a'} tagged with a record name violates the declared type of #r{id::'integer'} literals.erl:29: Function m3/1 has no local return literals.erl:29: The pattern {{'r', 'a'}} can never match the type any() +literals.erl:32: Function m4/1 has no local return diff --git a/lib/dialyzer/test/small_SUITE_data/results/maps1 b/lib/dialyzer/test/small_SUITE_data/results/maps1 index 773f037c47..3e076326d2 100644 --- a/lib/dialyzer/test/small_SUITE_data/results/maps1 +++ b/lib/dialyzer/test/small_SUITE_data/results/maps1 @@ -1,8 +1,4 @@ -maps1.erl:20: Function recv/3 has no local return -maps1.erl:25: Function decode/1 has no local return -maps1.erl:31: Function t1/0 has no local return -maps1.erl:40: Function update/2 has no local return maps1.erl:43: Function t3/0 has no local return maps1.erl:46: Function foo/2 has no local return maps1.erl:52: The call Mod:'function'(~{'literal'=>'map'}~,'another_arg') requires that Mod is of type atom() not #{} -- cgit v1.2.3