diff --git a/lua/frame.go b/lua/frame.go index 12065c3..1df7be5 100644 --- a/lua/frame.go +++ b/lua/frame.go @@ -65,7 +65,7 @@ func (fr *Frame) extend(grow int) { // stack top). func (fr *Frame) absindex(index int) int { // zero, positive, or pseudo index - if index > 0 || isPseudoIndex(index) { + if index >= 0 || isPseudoIndex(index) { return index } // negative