mirror of
https://github.com/vlang/v.git
synced 2025-09-14 23:12:33 +03:00
disable u32 check for now
This commit is contained in:
parent
892d2b58ac
commit
4a8ba9756f
2 changed files with 7 additions and 6 deletions
|
@ -644,7 +644,7 @@ fn is_valid_int_const(val, typ string) bool {
|
|||
switch typ {
|
||||
case 'byte', 'u8': return 0 <= x && x <= math.MaxU8
|
||||
case 'u16': return 0 <= x && x <= math.MaxU16
|
||||
case 'u32': return 0 <= x && x <= math.MaxU32
|
||||
//case 'u32': return 0 <= x && x <= math.MaxU32
|
||||
//case 'u64': return 0 <= x && x <= math.MaxU64
|
||||
//////////////
|
||||
case 'i8': return math.MinI8 <= x && x <= math.MaxI8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue