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 found: i64 = 0
let found = 0
let i: i64 = 1
let i = 1
while true
if math.is_prime(i)
found = found + 1