Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout committed Sep 25, 2024
1 parent d32e337 commit 75a0083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/pragmas.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1357,7 +1357,7 @@ proc implicitPragmas*(c: PContext, sym: PSym, info: TLineInfo,
internalError(c.config, info, "implicitPragmas")
inc i
popInfoContext(c.config)
if sym.kind in routineKinds-{skTemplate} and sym.ast != nil and
if sym.kind in routineKinds and sym.ast != nil and
not (sym.kind == skTemplate and sfGenSym in sym.flags):
mergePragmas(sym.ast, o)

Expand Down

0 comments on commit 75a0083

Please sign in to comment.