safety: a lot more exception checker progress (#20956)

This commit is contained in:
Meghan Denny
2025-07-15 23:11:19 -08:00
committed by GitHub
parent d8b37bf408
commit 875604a42b
102 changed files with 774 additions and 1383 deletions

View File

@@ -854,9 +854,9 @@ pub const String = extern struct {
return bun.jsc.fromJSHostCall(globalObject, @src(), BunString__createUTF8ForJS, .{ globalObject, builder.items.ptr, builder.items.len });
}
pub fn parseDate(this: *String, globalObject: *JSC.JSGlobalObject) f64 {
pub fn parseDate(this: *String, globalObject: *JSC.JSGlobalObject) bun.JSError!f64 {
JSC.markBinding(@src());
return Bun__parseDate(globalObject, this);
return bun.jsc.fromJSHostCallGeneric(globalObject, @src(), Bun__parseDate, .{ globalObject, this });
}
pub fn ref(this: String) void {