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,5 +1,5 @@
func main[] : i64
let sum: i64 = 0
let sum = 0
for i in 0..266000
if i % 2 != 0