fixing example
Build / build (push) Successful in 3m15s
Test / build (push) Successful in 9m50s

This commit is contained in:
2026-03-12 01:06:20 +01:00
parent 7dd86b021d
commit 72faa35357
4 changed files with 65 additions and 10 deletions
+2 -1
View File
@@ -113,7 +113,8 @@ pub fn callEntryPoint(self: *Self, allocator: std.mem.Allocator, entry_point_ind
if (entry_point_result.variant) |variant| {
switch (variant) {
.Function => |f| {
if (!self.it.jumpToSourceLocation(f.source_location)) return RuntimeError.InvalidEntryPoint;
if (!self.it.jumpToSourceLocation(f.source_location))
return RuntimeError.InvalidEntryPoint;
self.function_stack.append(allocator, .{
.source_location = f.source_location,
.result = entry_point_result,