make strscans module work with --newruntime
This commit is contained in:
parent
485d5448fa
commit
0e6eb7d483
2 changed files with 7 additions and 4 deletions
|
|
@ -1115,7 +1115,7 @@ proc transformBody*(g: ModuleGraph, prc: PSym, cache = true;
|
|||
prc.transformedBody = newNode(nkEmpty) # protects from recursion
|
||||
var c = openTransf(g, prc.getModule, "")
|
||||
c.noDestructors = noDestructors
|
||||
result = liftLambdas(g, prc, prc.ast[bodyPos], c.tooEarly)
|
||||
result = liftLambdas(g, prc, prc.ast[bodyPos], c.tooEarly, noDestructors)
|
||||
result = processTransf(c, result, prc)
|
||||
liftDefer(c, result)
|
||||
result = liftLocalsIfRequested(prc, result, g.cache, g.config)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue