diff options
author | Magnus Lång <[email protected]> | 2016-02-28 00:35:55 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2016-04-28 16:16:10 +0200 |
commit | 01916bad570fea8f13c2fdc8499a6cd5bdb8523f (patch) | |
tree | dc4a300c7a6c0823d3bb25816683e179cc579844 /lib/dialyzer/test/small_SUITE_data | |
parent | 67c7fd3c516b08d3d8814debca0db2a295e0c0b8 (diff) | |
download | otp-01916bad570fea8f13c2fdc8499a6cd5bdb8523f.tar.gz otp-01916bad570fea8f13c2fdc8499a6cd5bdb8523f.tar.bz2 otp-01916bad570fea8f13c2fdc8499a6cd5bdb8523f.zip |
dialyzer: Improve map pattern typesetting
Diffstat (limited to 'lib/dialyzer/test/small_SUITE_data')
-rw-r--r-- | lib/dialyzer/test/small_SUITE_data/results/maps1 | 2 | ||||
-rw-r--r-- | lib/dialyzer/test/small_SUITE_data/results/maps_difftype | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/dialyzer/test/small_SUITE_data/results/maps1 b/lib/dialyzer/test/small_SUITE_data/results/maps1 index ec8748b7b8..a178e96b20 100644 --- a/lib/dialyzer/test/small_SUITE_data/results/maps1 +++ b/lib/dialyzer/test/small_SUITE_data/results/maps1 @@ -1,4 +1,4 @@ maps1.erl:43: Function t3/0 has no local return -maps1.erl:44: The call maps1:foo(~{'greger'=>3, ~{'arne'=>'anka'}~=>45}~,1) will never return since it differs in the 1st and 2nd argument from the success typing arguments: (#{'beta':=_, ...},'b') +maps1.erl:44: The call maps1:foo(#{'greger'=>3, #{'arne'=>'anka'}=>45},1) will never return since it differs in the 1st and 2nd argument from the success typing arguments: (#{'beta':=_, ...},'b') maps1.erl:52: The variable Mod can never match since previous clauses completely covered the type #{} diff --git a/lib/dialyzer/test/small_SUITE_data/results/maps_difftype b/lib/dialyzer/test/small_SUITE_data/results/maps_difftype index 8980321135..3018b888db 100644 --- a/lib/dialyzer/test/small_SUITE_data/results/maps_difftype +++ b/lib/dialyzer/test/small_SUITE_data/results/maps_difftype @@ -1,3 +1,3 @@ maps_difftype.erl:10: Function empty_mismatch/1 has no local return -maps_difftype.erl:11: The pattern ~{}~ can never match the type tuple() +maps_difftype.erl:11: The pattern #{} can never match the type tuple() |