Minor fix to an error message.

This commit is contained in:
cfreksen 2017-11-09 13:13:34 +01:00
parent ced2c41bc6
commit 53ee6d3ef6
No known key found for this signature in database
GPG Key ID: EAC13EE101008978

View File

@ -132,7 +132,7 @@ def step(insns, terminator, blocks, stack_frames, ssa_env, global_env, heap,
function = fdecs[callee.val] function = fdecs[callee.val]
except KeyError: except KeyError:
err('Could not find function {} in environment:\n{}' err('Could not find function {} in environment:\n{}'
.format(callee.val, fdecs.keys())) .format(callee.val, list(fdecs.keys())))
return insns_rest, terminator, blocks, stack_frames, ssa_env, heap, call_res return insns_rest, terminator, blocks, stack_frames, ssa_env, heap, call_res
parameters = function.parameters parameters = function.parameters