gijit / gi

gijit is a just-in-time trace-compiled golang REPL. Standing on the shoulders of giants (GopherJS and LuaJIT).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make([]int, 3) making int slices

glycerine opened this issue · comments

should be fairly easy, good first issue. make a slice should work. so when
we write in Go

a := make([]int, 3)

This should compile and when run, allocate a _gi_NewSlice just like

a := []int{0,0,0}

would.

done by v0.7.7