refactorings (#20536)
* refactoring * refactoring: removed unused macroUsagesSection * enum instead of bool for better readability
This commit is contained in:
parent
e290b028ab
commit
08ae3467b9
9 changed files with 16 additions and 16 deletions
|
|
@ -2494,7 +2494,7 @@ proc genProc(oldProc: PProc, prc: PSym): Rope =
|
|||
else:
|
||||
returnStmt = "return $#;$n" % [a.res]
|
||||
|
||||
var transformedBody = transformBody(p.module.graph, p.module.idgen, prc, cache = false)
|
||||
var transformedBody = transformBody(p.module.graph, p.module.idgen, prc, dontUseCache)
|
||||
if sfInjectDestructors in prc.flags:
|
||||
transformedBody = injectDestructorCalls(p.module.graph, p.module.idgen, prc, transformedBody)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue