WIP: testing closure types
This commit is contained in:
parent
4cadb1a7eb
commit
69f31db23b
7 changed files with 24 additions and 20 deletions
|
|
@ -50,7 +50,7 @@ pub fn get_export(env_cfg: bool) -> Function {
|
|||
}
|
||||
|
||||
fn get_export_callback(env_cfg: bool) -> InternalOperation {
|
||||
|a: Ast, b: Rc<RefCell<VTable>>, c: Rc<RefCell<FTable>>| -> Ctr {
|
||||
InternalOperation(|a: Ast, b: Rc<RefCell<VTable>>, c: Rc<RefCell<FTable>>| -> Ctr {
|
||||
let inner = a.borrow_mut();
|
||||
match &inner.car {
|
||||
Ctr::Symbol(identifier) => {
|
||||
|
|
@ -98,5 +98,5 @@ fn get_export_callback(env_cfg: bool) -> InternalOperation {
|
|||
}
|
||||
|
||||
return Ctr::None;
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue