correct failure to observe last call position in queries'

This commit is contained in:
Mark Thom
2019-11-17 20:18:11 -04:00
parent 17b2510480
commit de88fdc4dc
3 changed files with 5 additions and 5 deletions

View File

@@ -134,7 +134,7 @@ impl CodeRepo {
);
Some(RefOrOwned::Owned(call_clause))
}
&CodePtr::CallN(arity, _) => {
&CodePtr::CallN(arity, _, last_call) => {
let call_clause = call_clause!(ClauseType::CallN, arity, 0, last_call);
Some(RefOrOwned::Owned(call_clause))
}