Skip to content
Snippets Groups Projects

More improvements to Infrastructure

1 file
+ 0
1
Compare changes
  • Side-by-side
  • Inline
@@ -159,7 +159,6 @@ class InstructionBlock:
@@ -159,7 +159,6 @@ class InstructionBlock:
self.operations[kind] = op
self.operations[kind] = op
else:
else:
as_int = int(index) # will Raise ValueError if not integer
as_int = int(index) # will Raise ValueError if not integer
print(op)
if not isinstance(op, Instruction):
if not isinstance(op, Instruction):
raise ValueError('Provide Instruction')
raise ValueError('Provide Instruction')
if len(self.operations[kind]) < as_int:
if len(self.operations[kind]) < as_int:
Loading