exec working up to halt
clean shutdown doesn't for some reason
This commit is contained in:
@@ -32,7 +32,7 @@ pub fn gen_macro_lib() -> Vec<GenMember> {
|
||||
),
|
||||
fun(true, "resolve", |tpl: TypAtom<MacTree>| async move {
|
||||
call([
|
||||
sym_ref(sym!(macro::resolve_recur; tpl.untyped.ctx().i()).await),
|
||||
sym_ref(sym!(macros::resolve_recur; tpl.untyped.ctx().i()).await),
|
||||
atom(RecurState::Bottom),
|
||||
tpl.untyped.ex().to_expr().await,
|
||||
])
|
||||
@@ -43,7 +43,7 @@ pub fn gen_macro_lib() -> Vec<GenMember> {
|
||||
if let Some(e) = Reporter::new().errv() { Err(e) } else { Ok(res) }
|
||||
}),
|
||||
fun(true, "resolve_recur", |state: TypAtom<RecurState>, tpl: TypAtom<MacTree>| async move {
|
||||
exec(async move |mut h| {
|
||||
exec("macros::resolve_recur", async move |mut h| {
|
||||
let ctx = tpl.ctx().clone();
|
||||
let root = refl(&ctx);
|
||||
let tpl = own(tpl.clone()).await;
|
||||
|
||||
Reference in New Issue
Block a user