diff options
author | Araq <rumpf_a@web.de> | 2015-08-05 21:42:59 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-08-05 21:43:15 +0200 |
commit | 14ce3c7d4df4333a592c3b1c26fc89e8193fc3e3 (patch) | |
tree | 48f63db46f1f0f8032153e2c18644c9f7e400fc9 /compiler | |
parent | 0d8942d45e5d477224d486ab66adfcf38230aa8b (diff) | |
download | Nim-14ce3c7d4df4333a592c3b1c26fc89e8193fc3e3.tar.gz |
fix regressions
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/transf.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/transf.nim b/compiler/transf.nim index 2ac5e1f39..5c7472a39 100644 --- a/compiler/transf.nim +++ b/compiler/transf.nim @@ -840,7 +840,7 @@ proc liftDeferAux(n: PNode) = let deferPart = newNodeI(nkFinally, n.sons[i].info) deferPart.add n.sons[i].sons[0] var tryStmt = newNodeI(nkTryStmt, n.sons[i].info) - var body = newNodeI(nkStmtList, n.sons[i].info) + var body = newNodeI(n.kind, n.sons[i].info) if i < last: body.sons = n.sons[(i+1)..last] tryStmt.addSon(body) |