From 55bb60a56b04cbdb8c6f8d355c656932382da50e Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Sat, 18 Nov 2023 16:40:28 +0800 Subject: [PATCH] fixes #22947; static integers in quote do [backport] (#22948) fixes #22947 (cherry picked from commit 09ea1b168fc66ec1f921cc0bd603606c5d7cf8e7) --- compiler/semexprs.nim | 2 +- tests/stdlib/tmacros.nim | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim index 9a9177d760..86a08fe28b 100644 --- a/compiler/semexprs.nim +++ b/compiler/semexprs.nim @@ -2239,7 +2239,7 @@ proc semQuoteAst(c: PContext, n: PNode): PNode = for i in 1..