mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
parser: fail when assigning to _ with :=
This commit is contained in:
parent
36edd6295f
commit
11b7b97311
41 changed files with 137 additions and 111 deletions
|
@ -84,7 +84,7 @@ fn encrypt_block_generic(xk []u32, dst, src []byte) {
|
|||
s2 ^= xk[k+2]
|
||||
s3 ^= xk[k+3]
|
||||
|
||||
_ = dst[15] // early bounds check
|
||||
_ := dst[15] // early bounds check
|
||||
binary.big_endian_put_u32(mut dst[..4], s0)
|
||||
binary.big_endian_put_u32(mut dst.slice(4, 8), s1)
|
||||
binary.big_endian_put_u32(mut dst.slice(8, 12), s2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue