Skip to content

Commit cddb41f

Browse files
committed
fix unbound variable
1 parent ea2443b commit cddb41f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

loda/runtime/interpreter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def __run(self, p: Program, mem: dict) -> int:
100100

101101
# check for loops with fragments
102102
if any(op.type == Operation.Type.LPB and op.source != Operand(Operand.Type.CONSTANT, 1) for op in ops):
103-
self.__raise("unsupported operation: {}".format(op))
103+
self.__raise("fragments not supported")
104104

105105
# check for empty program
106106
if len(ops) == 0:

0 commit comments

Comments
 (0)