Skip to content

Commit 93bf396

Browse files
committed
rebase main
1 parent 529b81a commit 93bf396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/js.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ pub fn Env(comptime State: type, comptime WebApis: type) type {
932932
},
933933
.@"enum" => |e| {
934934
switch (@typeInfo(e.tag_type)) {
935-
.int => return std.meta.intToEnum(T, try jsIntToZig(e.tag_type, js_value, self.context)),
935+
.int => return std.meta.intToEnum(T, try jsIntToZig(e.tag_type, js_value, self.v8_context)),
936936
else => @compileError(named_function.full_name ++ " has an unsupported enum parameter type: " ++ @typeName(T)),
937937
}
938938
},

0 commit comments

Comments
 (0)