Skip to content

Commit d349a01

Browse files
Julius Bierbaumliketechnik
authored andcommitted
fix(executor): missing function call
1 parent 97b92eb commit d349a01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/executor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ pub fn run(code: &Code, heap: &mut Heap) {
124124
Update::GoTo(offset, direction) => {
125125
match direction {
126126
OffsetDirection::Forward => current_pc.next(offset).unwrap(),
127-
OffsetDirection::Backward => current_pc.(offset).unwrap(),
127+
OffsetDirection::Backward => current_pc.previous(offset).unwrap(),
128128
}
129129
}
130130
}

0 commit comments

Comments
 (0)