From e5686139239afb2e182076d73c78f9fe95406144 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Mon, 25 May 2026 19:31:00 +0800 Subject: [PATCH] oops --- compiler/semgnrc.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/semgnrc.nim b/compiler/semgnrc.nim index cd0761c6b6..1d12ae970a 100644 --- a/compiler/semgnrc.nim +++ b/compiler/semgnrc.nim @@ -129,7 +129,7 @@ proc semGenericStmtSymbol(c: PContext, n: PNode, s: PSym, result.typ = nil onUse(n.info, s) of skParam: - if s.owner == c.p.owner or true: + if s.owner == c.p.owner: # Parameters of the routine currently being semchecked stay as local # identifiers result = n