bugfix:hexadecimal ranges 0x00..0x01
This commit is contained in:
parent
684bb09773
commit
fe4cc78294
2 changed files with 9 additions and 1 deletions
8
tests/accept/compile/thexrange.nim
Executable file
8
tests/accept/compile/thexrange.nim
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
type
|
||||
TArray = array[0x0012..0x0013, int]
|
||||
|
||||
var a: TArray
|
||||
|
||||
echo a[0] #OUT 0
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue