From 98cd1671a3420875b90aebf0e92a0ab762facb51 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Thu, 6 May 2021 13:27:40 +0200 Subject: minor cleanups (#17948) --- compiler/semstmts.nim | 2 -- 1 file changed, 2 deletions(-) (limited to 'compiler/semstmts.nim') diff --git a/compiler/semstmts.nim b/compiler/semstmts.nim index d56c1c1bd..b4630294b 100644 --- a/compiler/semstmts.nim +++ b/compiler/semstmts.nim @@ -198,7 +198,6 @@ proc semTry(c: PContext, n: PNode; flags: TExprFlags): PNode = isImported result = n - inc c.p.inTryStmt checkMinSonsLen(n, 2, c.config) var typ = commonTypeBegin @@ -265,7 +264,6 @@ proc semTry(c: PContext, n: PNode; flags: TExprFlags): PNode = else: dec last closeScope(c) - dec c.p.inTryStmt if isEmptyType(typ) or typ.kind in {tyNil, tyUntyped}: discardCheck(c, n[0], flags) for i in 1..