aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2019-04-09 08:24:32 +0200
committerHans Bolinder <[email protected]>2019-04-09 08:24:32 +0200
commit8487c67c2e5738d05a49f110be21b9ff8943a4c9 (patch)
tree3ffb9e0726d231c8f208bce2965683936483e2d0 /lib/stdlib/src
parent45bb3d43fdba5b085fdd2f944277784ec18e60a8 (diff)
parent0682f0a9b141090caee750bfc34a424a2e0defa2 (diff)
downloadotp-8487c67c2e5738d05a49f110be21b9ff8943a4c9.tar.gz
otp-8487c67c2e5738d05a49f110be21b9ff8943a4c9.tar.bz2
otp-8487c67c2e5738d05a49f110be21b9ff8943a4c9.zip
Merge branch 'hasse/stdlib/erl_pp_throw/OTP-15751'
* hasse/stdlib/erl_pp_throw/OTP-15751: stdlib: Fix a bug concerning exception class 'throw'
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/erl_pp.erl6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/stdlib/src/erl_pp.erl b/lib/stdlib/src/erl_pp.erl
index ada3ff5de3..3e68c1b225 100644
--- a/lib/stdlib/src/erl_pp.erl
+++ b/lib/stdlib/src/erl_pp.erl
@@ -808,12 +808,6 @@ cr_clause({clause,_,[T],G,B}, Opts) ->
try_clauses(Cs, Opts) ->
clauses(fun try_clause/2, Opts, Cs).
-try_clause({clause,_,[{tuple,_,[{atom,_,throw},V,S]}],G,B}, Opts) ->
- El = lexpr(V, 0, Opts),
- Sl = stack_backtrace(S, [El], Opts),
- Gl = guard_when(Sl, G, Opts),
- Bl = body(B, Opts),
- {step,Gl,Bl};
try_clause({clause,_,[{tuple,_,[C,V,S]}],G,B}, Opts) ->
Cs = lexpr(C, 0, Opts),
El = lexpr(V, 0, Opts),