Skip to content

Commit

Permalink
one more line info
Browse files Browse the repository at this point in the history
  • Loading branch information
arnetheduck committed Sep 23, 2024
1 parent 84aa5eb commit cb14011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stew/staticfor.nim
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ macro staticFor*(idx: untyped{nkIdent}, slice: static Slice[int], body: untyped)
## staticFor(i, 0..<2):
## echo default(array[i, byte])
## ```
result = newStmtList()
result = newNimNode(nnkStmtList, lineInfoFrom = body)
for i in slice:
result.add nnkBlockStmt.newTree(
ident(":staticFor" & $idx & $i),
Expand Down

0 comments on commit cb14011

Please sign in to comment.