Commit 3445fc92 authored by dbarbera's avatar dbarbera
Browse files

Fix typo

parent f30e519c
......@@ -240,7 +240,7 @@ def _generate_startup_func(process):
# Initialize process level variables
for name, (ty, expr) in process.variables.viewitems():
if expr:
global_var = _resolve(str(name))
global_var = g.scope.resolve(str(name))
_generate_assign(global_var, expression(expr))
g.builder.call(g.funcs['run_transition'], [core.Constant.int(g.i32, 0)])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment