Fixing tests

This commit is contained in:
Emil Fresk 2021-07-07 22:50:59 +02:00
parent 633012190b
commit 98d2af9d73
75 changed files with 591 additions and 1183 deletions

View file

@ -31,17 +31,6 @@ pub fn codegen(app: &App, analysis: &Analysis, extra: &Extra) -> CodegenResult {
let mut root_init = vec![];
// TODO: Fix locals
// let mut locals_pat = None;
// let mut locals_new = None;
// if !init.locals.is_empty() {
// let (struct_, pat) = locals::codegen(Context::Init, &init.locals, app);
// locals_new = Some(quote!(#name::Locals::new()));
// locals_pat = Some(pat);
// root_init.push(struct_);
// }
let context = &init.context;
let attrs = &init.attrs;
let stmts = &init.stmts;