mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser: more typing checks
This commit is contained in:
@ -53,4 +53,7 @@ fn test_mod() {
|
||||
assert 4 % 2 == 0
|
||||
x := 2
|
||||
assert u64(5) % x == 1
|
||||
mut a := 10
|
||||
a %= 2
|
||||
assert a == 0
|
||||
}
|
||||
|
Reference in New Issue
Block a user