mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 06:18:51 +00:00
* Extend intVal range to nnkUInt64Lit Fixes #21593 * Properly cast intVal as unsigned * Add testcase for #21593
14 lines
156 B
Nim
14 lines
156 B
Nim
discard """
|
|
nimout: '''
|
|
StmtList
|
|
UIntLit 18446744073709551615
|
|
IntLit -1'''
|
|
"""
|
|
|
|
import macros
|
|
|
|
dumpTree:
|
|
0xFFFFFFFF_FFFFFFFF'u
|
|
0xFFFFFFFF_FFFFFFFF
|
|
|