I have an inability to copy and paste properly

This commit is contained in:
2026-03-01 14:45:20 +11:00
parent 23c139b48c
commit 14f852e39b

View File

@@ -968,8 +968,8 @@ ResultType(GroundProgram, charptr) generateUseNode(SolsNode* node, SolsScope* sc
// Insert all the stuff into our scope // Insert all the stuff into our scope
SolsVariable *var, *tmp; SolsVariable *var, *tmp;
HASH_ITER(hh, scope->variables, var, tmp) { HASH_ITER(hh, newScope.variables, var, tmp) {
addVariableToScope(&newScope, var->id, var->typeinfo); addVariableToScope(scope, var->id, var->typeinfo);
} }
return Success(GroundProgram, charptr, codegen.as.success); return Success(GroundProgram, charptr, codegen.as.success);