uncomment the assertion

Forgot to revert this...
This commit is contained in:
Halil Durak
2025-11-20 14:22:32 +03:00
parent 1aca22f219
commit 629297e0c2

View File

@@ -705,7 +705,7 @@ pub fn jsValueToZig(self: *Context, comptime T: type, js_value: v8.Value) !T {
return error.InvalidArgument; return error.InvalidArgument;
} }
if (@hasDecl(ptr.child, "JsApi")) { if (@hasDecl(ptr.child, "JsApi")) {
//std.debug.assert(bridge.JsApiLookup.has(ptr.child.JsApi)); std.debug.assert(bridge.JsApiLookup.has(ptr.child.JsApi));
const js_obj = js_value.castTo(v8.Object); const js_obj = js_value.castTo(v8.Object);
return typeTaggedAnyOpaque(*ptr.child, js_obj); return typeTaggedAnyOpaque(*ptr.child, js_obj);
} }