nnkArglist => nnkArgList + special case stylecheck:error (#17529)
* nnkArglist => nnkArgList * special case stylecheck:error
This commit is contained in:
parent
8ed6de4fe6
commit
a65189a739
10 changed files with 17 additions and 15 deletions
|
|
@ -39,7 +39,7 @@ proc underscoredCall(n, arg0: NimNode): NimNode =
|
|||
result.add arg0
|
||||
|
||||
proc underscoredCalls*(result, calls, arg0: NimNode) =
|
||||
expectKind calls, {nnkArglist, nnkStmtList, nnkStmtListExpr}
|
||||
expectKind calls, {nnkArgList, nnkStmtList, nnkStmtListExpr}
|
||||
|
||||
for call in calls:
|
||||
if call.kind in {nnkStmtList, nnkStmtListExpr}:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue