Files
Nim/tests/macros/t21593.nim
chmod222 0c6f14af04 macros: Extend treeTraverse intVal range to nnkUInt64Lit (#21597)
* Extend intVal range to nnkUInt64Lit

Fixes #21593

* Properly cast intVal as unsigned

* Add testcase for #21593
2023-04-01 20:29:28 +02:00

14 lines
156 B
Nim

discard """
nimout: '''
StmtList
UIntLit 18446744073709551615
IntLit -1'''
"""
import macros
dumpTree:
0xFFFFFFFF_FFFFFFFF'u
0xFFFFFFFF_FFFFFFFF