aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2017-09-29 15:26:27 +0200
committerSiri Hansen <[email protected]>2017-09-29 15:26:27 +0200
commit78bc31a0e4b3ad3b088d67724601565fb09c2d58 (patch)
tree9311bca7efe336d28d96abbfeff980bf3539032b /lib
parent59042d04ad3d3371132a21423f8ea0e99f120a8b (diff)
downloadotp-78bc31a0e4b3ad3b088d67724601565fb09c2d58.tar.gz
otp-78bc31a0e4b3ad3b088d67724601565fb09c2d58.tar.bz2
otp-78bc31a0e4b3ad3b088d67724601565fb09c2d58.zip
Allow multiple clauses in match spec
Diffstat (limited to 'lib')
-rw-r--r--lib/observer/src/observer_trace_wx.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/observer/src/observer_trace_wx.erl b/lib/observer/src/observer_trace_wx.erl
index 8127248262..2c3b46a3a1 100644
--- a/lib/observer/src/observer_trace_wx.erl
+++ b/lib/observer/src/observer_trace_wx.erl
@@ -1201,7 +1201,7 @@ make_ms(MS) ->
make_ms(Name,Term,FunStr).
make_ms(Name, Term, FunStr) ->
- #match_spec{name=Name, term=Term, str=io_lib:format("~tw", Term), func = FunStr}.
+ #match_spec{name=Name, term=Term, str=io_lib:format("~tw", [Term]), func = FunStr}.
parse_tp({tp, Mod, FAs}, State) ->
Patterns = [#tpattern{m=Mod,fa={F,A}, ms=make_ms(List)} ||