Fix a few deprecation warnings
This commit is contained in:
parent
4246f660ea
commit
c50b5b62ef
32 changed files with 53 additions and 65 deletions
|
|
@ -1,8 +1,6 @@
|
|||
|
||||
# bug #1638
|
||||
|
||||
import unsigned
|
||||
|
||||
let v1 = 7
|
||||
let v2 = 7'u64
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,6 @@ true'''
|
|||
"""
|
||||
|
||||
# bug 1420
|
||||
import unsigned
|
||||
|
||||
var x = 40'u32
|
||||
var y = 30'u32
|
||||
echo x > y # works
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
|
||||
import unsigned
|
||||
|
||||
# Tests unsigned literals and implicit conversion between uints and ints
|
||||
# Passes if it compiles
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
import unsigned
|
||||
|
||||
discard """
|
||||
errormsg: "number 0x123'u8 out of valid range"
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue