diff options
author | Hans Bolinder <[email protected]> | 2019-04-09 08:24:32 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2019-04-09 08:24:32 +0200 |
commit | 8487c67c2e5738d05a49f110be21b9ff8943a4c9 (patch) | |
tree | 3ffb9e0726d231c8f208bce2965683936483e2d0 /lib/stdlib/src | |
parent | 45bb3d43fdba5b085fdd2f944277784ec18e60a8 (diff) | |
parent | 0682f0a9b141090caee750bfc34a424a2e0defa2 (diff) | |
download | otp-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.erl | 6 |
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), |