Skip to content

Commit c76ef31

Browse files
authored
Merge pull request #2 from MasonRemaley/update-zig
Updates for latest Zig
2 parents d1b0b5b + a7f6da6 commit c76ef31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vm.zig

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ pub fn VM(
281281
}
282282

283283
std.debug.assert(vm.stack.items(.loc).len == 1);
284-
const result = vm.stack.pop();
284+
const result = vm.stack.pop().?;
285285
std.debug.assert(result.value != .err);
286286
vm.reset();
287287
log.debug("returning = '{any}'", .{result});

0 commit comments

Comments
 (0)