infer var type when initializer is a number constant
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user