bugfix: closures as default param values
This commit is contained in:
parent
a85b579718
commit
c27637747a
3 changed files with 3 additions and 17 deletions
|
|
@ -778,11 +778,6 @@ proc genPragma(p: BProc, n: PNode) =
|
|||
genEmit(p, it)
|
||||
of wBreakpoint:
|
||||
genBreakPoint(p, it)
|
||||
of wDeadCodeElim:
|
||||
if not (optDeadCodeElim in gGlobalOptions):
|
||||
# we need to keep track of ``deadCodeElim`` pragma
|
||||
if (sfDeadCodeElim in p.module.module.flags):
|
||||
addPendingModule(p.module)
|
||||
of wWatchpoint:
|
||||
genWatchpoint(p, it)
|
||||
else: nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue