Fix incorrect assertion

This commit is contained in:
Jarred Sumner
2024-02-22 21:51:44 -08:00
parent f6a0edc7de
commit 5147c0ba73
4 changed files with 170 additions and 7 deletions

View File

@@ -4372,7 +4372,7 @@ pub fn firstNonASCII16(comptime Slice: type, slice: Slice) ?u32 {
}
}
if (remaining[out] <= 127) {
if (slice[out] <= 127) {
bun.Output.panic("firstNonASCII16: Expected non-ascii character", .{});
}
}