This commit is contained in:
ringabout
2026-05-25 19:31:00 +08:00
parent 7585bec361
commit e568613923

View File

@@ -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