finish eval referencing issues, update func tests

This commit is contained in:
Aidan 2021-06-05 17:46:13 -07:00
parent 4712d5466c
commit a6abc993a5
No known key found for this signature in database
GPG key ID: 327711E983899316
3 changed files with 17 additions and 19 deletions

View file

@ -13,7 +13,7 @@ mod func_tests {
eval_lazy: true,
args: Args::Strict(vec![Type::Bool]),
function: Operation::Internal(
|a: Ast, _b: Rc<RefCell<VTable>>, _c: Rc<RefCell<FTable>>| -> Ast {
|a: Ast, _b: Rc<RefCell<VTable>>, _c: Rc<RefCell<FTable>>| -> Ctr {
let inner = a.borrow();
let mut is_bool = false;
if let Ctr::Bool(_) = &inner.car {