XXX this should take the frame arg too and the procs that create new arrays need to propagate their frames downstream.
(vals []super.Value)
| 18 | // XXX this should take the frame arg too and the procs that create |
| 19 | // new arrays need to propagate their frames downstream. |
| 20 | func NewArray(vals []super.Value) *Array { |
| 21 | return &Array{values: vals} |
| 22 | } |
| 23 | |
| 24 | func (a *Array) Ref() { |
| 25 | // do nothing... let the GC reclaim it |
no outgoing calls