fix var declarations by making them expressions

This commit is contained in:
Luna 2019-08-25 11:38:55 -03:00
parent 72bc932d23
commit 4534549f41
3 changed files with 83 additions and 51 deletions

View file

@ -9,6 +9,6 @@ fn main(a int) int {
1 + 2 + 3 + 4
1 + 1 * 1
3 / (51 + 2)
a := 1+2
println(2 * 1956 + a)
mut a := 1+2
a = 2
}