(val ref.Val, id int64)
| 352 | type refValStack []stackVal |
| 353 | |
| 354 | func (s *refValStack) push(val ref.Val, id int64) { |
| 355 | value := stackVal{Val: val, ID: id} |
| 356 | *s = append(*s, value) |
| 357 | } |
| 358 | |
| 359 | // TODO: Allowing drop and dropArgs to remove stack items above the IDs they are provided is a workaround. drop and dropArgs |
| 360 | // should find and remove only the stack items matching the provided IDs once all attributes are properly pushed and popped from stack. |