infer var type when initializer is a number constant

This commit is contained in:
2025-12-23 18:10:56 +01:00
parent 5682318915
commit c527aceecd
36 changed files with 118 additions and 100 deletions

View File

@@ -1,7 +1,7 @@
func main[] : i64
let sum: i64 = 0
let a: i64 = 0
let b: i64 = 1
let sum = 0
let a = 0
let b = 1
while a < 4000000
if a % 2 == 0