Skip to content

Commit fd84366

Browse files
committed
fix sourcemaps
1 parent dc847d7 commit fd84366

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sourcemap/sourcemap.zig

+1-1
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ pub const LineOffsetTable = struct {
940940
contents.ptr,
941941
)) - line_byte_offset),
942942
);
943-
byte_offset_to_first_non_ascii = line_byte_offset;
943+
byte_offset_to_first_non_ascii = column_byte_offset;
944944
}
945945

946946
// Update the per-byte column offsets

0 commit comments

Comments
 (0)