Added back accidentally removed block

This commit is contained in:
Emil Fresk 2020-10-05 20:19:52 +02:00
parent 44f26fe90c
commit 8ab7be9871
2 changed files with 7 additions and 2 deletions

View file

@ -63,6 +63,12 @@ pub fn codegen(
}
));
let name_late = format_ident!("{}LateResources", name);
user_init_imports.push(quote!(
#[allow(non_snake_case)]
use super::#name_late;
));
let mut locals_pat = None;
let mut locals_new = None;
if !init.locals.is_empty() {