Cleanup compile time variables from generated code
This commit is contained in:
@@ -337,6 +337,7 @@ CORE_Static void
|
||||
gen_lambda(Intern_String name, Ast_Lambda *lambda, B32 generate_block = true) {
|
||||
gen_simple_decl(lambda->resolved_type->func.ret, name);
|
||||
gen("(");
|
||||
if (lambda->args.len == 0) gen("void");
|
||||
For(lambda->args) {
|
||||
gen_var(it, DONT_EMIT_VALUE, true);
|
||||
if (&it != (lambda->args.end() - 1))
|
||||
|
||||
Reference in New Issue
Block a user