diff options
author | 2023-04-25 22:21:24 -0700 | |
---|---|---|
committer | 2023-04-25 22:21:24 -0700 | |
commit | 3e374c0ee4a77264fce7160e7887187dd3ebda34 (patch) | |
tree | 2db9436fc758cf9aa26e9aed452b2c0d0f21b2c5 | |
parent | f42663ce9acaaecf758349acae0c77aa6cac4e38 (diff) | |
download | bun-3e374c0ee4a77264fce7160e7887187dd3ebda34.tar.gz bun-3e374c0ee4a77264fce7160e7887187dd3ebda34.tar.zst bun-3e374c0ee4a77264fce7160e7887187dd3ebda34.zip |
Fix assertion failure
reproduces if building Three.js 10 times in runtime
-rw-r--r-- | src/sourcemap/sourcemap.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sourcemap/sourcemap.zig b/src/sourcemap/sourcemap.zig index b9d19b40d..f7a92a9c1 100644 --- a/src/sourcemap/sourcemap.zig +++ b/src/sourcemap/sourcemap.zig @@ -698,7 +698,7 @@ pub const LineOffsetTable = struct { if (c > 0x7F and columns_for_non_ascii.items.len == 0) { std.debug.assert(@ptrToInt( remaining.ptr, - ) > @ptrToInt( + ) >= @ptrToInt( contents.ptr, )); // we have a non-ASCII character, so we need to keep track of the |