Fix: revert optimizations

This commit is contained in:
2026-02-23 00:51:01 +01:00
parent f47285385c
commit 009d68087d
20 changed files with 134 additions and 377 deletions

View File

@@ -12,7 +12,7 @@ fn fetch_nonexistent() {
#[test]
fn persistence_across_evals() {
let mut f = forth();
let f = forth();
let ctx = default_ctx();
f.evaluate(r#"10 !counter"#, &ctx).unwrap();
f.clear_stack();
@@ -50,7 +50,7 @@ fn set_keep() {
#[test]
fn set_keep_stores() {
let mut f = forth();
let f = forth();
let ctx = default_ctx();
f.evaluate(r#"42 ,x"#, &ctx).unwrap();
f.clear_stack();
@@ -60,7 +60,7 @@ fn set_keep_stores() {
#[test]
fn set_keep_chain() {
let mut f = forth();
let f = forth();
let ctx = default_ctx();
f.evaluate(r#"10 ,a ,b"#, &ctx).unwrap();
f.clear_stack();