mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 05:42:43 +00:00
Fix incorrect assertion
This commit is contained in:
@@ -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", .{});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user