aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/small_SUITE_data
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-10-26 13:46:06 +0200
committerHans Bolinder <[email protected]>2016-11-01 10:16:39 +0100
commitcc2503f49e9fa445290740ebd11f1222431f5bd9 (patch)
treeb26eb3745dc3fcd14a317355f0a2992b00bd104c /lib/dialyzer/test/small_SUITE_data
parent18dad110a0e9220cf1a18ff1cd78d66d6ce203b5 (diff)
downloadotp-cc2503f49e9fa445290740ebd11f1222431f5bd9.tar.gz
otp-cc2503f49e9fa445290740ebd11f1222431f5bd9.tar.bz2
otp-cc2503f49e9fa445290740ebd11f1222431f5bd9.zip
erts: Correct type declaration of match specification head
Bug reported by Peti Gömöri <[email protected]>.
Diffstat (limited to 'lib/dialyzer/test/small_SUITE_data')
-rw-r--r--lib/dialyzer/test/small_SUITE_data/src/ms.erl8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/dialyzer/test/small_SUITE_data/src/ms.erl b/lib/dialyzer/test/small_SUITE_data/src/ms.erl
new file mode 100644
index 0000000000..47a5e886cf
--- /dev/null
+++ b/lib/dialyzer/test/small_SUITE_data/src/ms.erl
@@ -0,0 +1,8 @@
+-module(ms).
+-export([t/0]).
+
+-include_lib("stdlib/include/ms_transform.hrl").
+
+t() ->
+ MS = dbg:fun2ms(fun(All) -> message(All) end),
+ erlang:trace_pattern({m, f, '_'}, MS).