diff options
author | Siri Hansen <[email protected]> | 2017-10-17 15:50:00 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-10-17 15:50:00 +0200 |
commit | 82489e794c015742f8879438394fa8a2f4c6fd1b (patch) | |
tree | be4dff02fba45fb1b0e418e9a69908845504800c /lib/observer/src/observer_trace_wx.erl | |
parent | fc4b103d27e447ffb439adbdf39e5fea87a27b31 (diff) | |
parent | 78bc31a0e4b3ad3b088d67724601565fb09c2d58 (diff) | |
download | otp-82489e794c015742f8879438394fa8a2f4c6fd1b.tar.gz otp-82489e794c015742f8879438394fa8a2f4c6fd1b.tar.bz2 otp-82489e794c015742f8879438394fa8a2f4c6fd1b.zip |
Merge branch 'siri/observer/multiple-ms-clauses/ERL-489' into maint
* siri/observer/multiple-ms-clauses/ERL-489:
Allow multiple clauses in match spec
Diffstat (limited to 'lib/observer/src/observer_trace_wx.erl')
-rw-r--r-- | lib/observer/src/observer_trace_wx.erl | 2 |
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)} || |