This commit is contained in:
parent
c3344862b0
commit
0ff23e696c
1 changed files with 1 additions and 1 deletions
|
|
@ -1168,7 +1168,7 @@ proc implicitPragmas*(c: PContext, sym: PSym, n: PNode,
|
|||
if sym != nil and sym.kind != skModule:
|
||||
for it in c.optionStack:
|
||||
let o = it.otherPragmas
|
||||
if not o.isNil:
|
||||
if not o.isNil and sfFromGeneric notin sym.flags: # see issue #12985
|
||||
pushInfoContext(c.config, n.info)
|
||||
var i = 0
|
||||
while i < o.len:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue