* minor code refactorings * fixes #19569
This commit is contained in:
parent
8f9dd5b349
commit
0d6795a771
2 changed files with 7 additions and 9 deletions
|
|
@ -881,7 +881,7 @@ proc containsResult(n: PNode): bool =
|
|||
if containsResult(n[i]): return true
|
||||
|
||||
const harmless = {nkConstSection, nkTypeSection, nkEmpty, nkCommentStmt, nkTemplateDef,
|
||||
nkMacroDef, nkMixinStmt, nkBindStmt} +
|
||||
nkMacroDef, nkMixinStmt, nkBindStmt, nkFormalParams} +
|
||||
declarativeDefs
|
||||
|
||||
proc easyResultAsgn(n: PNode): PNode =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue