diff --git a/kr/src/pe_ast.rs b/kr/src/pe_ast.rs index 304dcbf..87eacc4 100644 --- a/kr/src/pe_ast.rs +++ b/kr/src/pe_ast.rs @@ -224,12 +224,13 @@ impl DCtx { println!("Fake if real rec stopper"); return PushFrameResult::UnderIf(id); } - if (e.is_some() || prms.is_some()) { + if (e.is_some() && prms.is_some()) { real_set.insert(id.clone()); // We're not actually not under fake still! //fake_set.remove(&id); } else { if fake_set.contains(&id) { + println!("Fake body rec stopper"); return PushFrameResult::UnderBody(id.clone()); } fake_set.insert(id.clone()); @@ -527,6 +528,7 @@ pub fn mark(form: Rc