This commit is contained in:
Emil Fresk 2020-06-11 19:00:52 +02:00
parent 1be9d0067b
commit eb6406da7e
3 changed files with 4 additions and 5 deletions

View file

@ -108,8 +108,9 @@ pub fn codegen(
}
let locals_new = locals_new.iter();
let call_init =
Some(quote!(let late = crate::#name(#(#locals_new,)* #name::Context::new(core.into()));));
let call_init = Some(
quote!(let late = crate::#name(#(#locals_new,)* #name::Context::new(core.into()));),
);
root_init.push(module::codegen(Context::Init(core), needs_lt, app, extra));