diff options
author | Hans Bolinder <[email protected]> | 2016-10-26 13:46:06 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2016-11-01 10:16:39 +0100 |
commit | cc2503f49e9fa445290740ebd11f1222431f5bd9 (patch) | |
tree | b26eb3745dc3fcd14a317355f0a2992b00bd104c /lib | |
parent | 18dad110a0e9220cf1a18ff1cd78d66d6ce203b5 (diff) | |
download | otp-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')
-rw-r--r-- | lib/dialyzer/test/small_SUITE_data/src/ms.erl | 8 |
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). |