diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2020-07-22 13:02:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-22 13:02:03 +0200 |
commit | d84894de2e04b22111a607eb72d301a1535a65e9 (patch) | |
tree | c8f0e504a188e9528e27184333efb9e6d0f70faf | |
parent | 32ac1b7c9df8614510c08c0a4649131cf33f369c (diff) | |
download | Nim-d84894de2e04b22111a607eb72d301a1535a65e9.tar.gz |
fixes #15026 [backport] (#15040)
no test case since only a special case was affected and the special case got removed
-rw-r--r-- | compiler/ccgstmts.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ccgstmts.nim b/compiler/ccgstmts.nim index c56340e00..0f58df3a4 100644 --- a/compiler/ccgstmts.nim +++ b/compiler/ccgstmts.nim @@ -1292,7 +1292,7 @@ proc genTryGoto(p: BProc; t: PNode; d: var TLoc) = # handler present or only handlers that did not match. linefmt(p, cpsStmts, "*nimErr_ = oldNimErrFin$1_;$n", [lab]) endBlock(p) - if p.prc != nil: raiseExit(p) + raiseExit(p) if hasExcept: inc p.withinTryWithExcept proc genTrySetjmp(p: BProc, t: PNode, d: var TLoc) = |