Skip to content

Commit

Permalink
fix chronos failure
Browse files Browse the repository at this point in the history
  • Loading branch information
metagn committed Jan 22, 2025
1 parent d1112d4 commit 3a6df4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/transf.nim
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ proc transformSons(c: PTransf, n: PNode, noConstFold = false): PNode =
proc transformSonsAfterType(c: PTransf, n: PNode, noConstFold = false): PNode =
result = newTransNode(n)
assert n.len != 0
result[0] = n[0]
result[0] = copyTree(n[0])
for i in 1..<n.len:
result[i] = transform(c, n[i], noConstFold)

Expand Down

0 comments on commit 3a6df4b

Please sign in to comment.