gijit / gi

gijit is a just-in-time trace-compiled golang REPL. Standing on the shoulders of giants (GopherJS and LuaJIT).
Other
320 stars 17 forks source link

make([]int, 3) making int slices #13

Closed glycerine closed 6 years ago

glycerine commented 6 years ago

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.

glycerine commented 6 years ago

done by v0.7.7