Commit 1b113b59 authored by Sean DuBois's avatar Sean DuBois

d.marker() doesn't seem to be the proper way to get stack length, use #'len on...

d.marker() doesn't seem to be the proper way to get stack length, use #'len on d.stack for #'loadTuple2 instead
parent 66f8a520
......@@ -610,7 +610,7 @@ func (d *Decoder) loadTuple() error {
}
func (d *Decoder) loadTuple2() error {
k := d.marker()
k := len(d.stack) - 2
v := append([]interface{}{}, d.stack[k:]...)
d.stack = append(d.stack[:k], v)
return nil
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment