1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

checker: check int overflow for const vars (#16332)

This commit is contained in:
Swastik Baranwal
2022-11-06 10:52:28 +05:30
committed by GitHub
parent d701cf561c
commit ca484430e0
12 changed files with 87 additions and 62 deletions

View File

@ -19,8 +19,8 @@ pub const (
const (
init0 = 0x67452301
init1 = 0xEFCDAB89
init2 = 0x98BADCFE
init1 = u32(0xEFCDAB89)
init2 = u32(0x98BADCFE)
init3 = 0x10325476
)