commit d746f4696a2da36a0303160da76a367eaafe6c33
parent aa30de955358bc38e53c593f34404f3a679d5ac1
Author: lash <dev@holbrook.no>
Date: Mon, 30 Dec 2024 19:53:48 +0000
Remove nottop ascend error
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/vm/runner.go b/vm/runner.go
@@ -85,10 +85,8 @@ func(vmi *Vm) Reset() {
func Rewind(sym string, st *state.State, ca cache.Memory) (string, error) {
var err error
- notTop := true
- for notTop {
- //notTop, err := st.Top()
- notTop, err = st.Top()
+ for true {
+ notTop, err := st.Top()
if notTop {
break
}