You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/oxc_codegen/src/sourcemap_builder.rs
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ const PS_THIRD: u8 = 0xA9;
16
16
/// Code is adapted from [esbuild](https://github.com/evanw/esbuild/blob/cc74e6042a9f573bf58e1e3f165ebda70af4ad3b/internal/js_printer/js_printer.go#L4806-L4808)
17
17
#[derive(Debug)]
18
18
pubstructLineOffsetTable{
19
-
columns:Option<Vec<u32>>,
19
+
columns:Option<Box<[u32]>>,
20
20
byte_offset_to_first:u32,
21
21
byte_offset_to_start_of_line:u32,
22
22
}
@@ -212,8 +212,7 @@ impl SourcemapBuilder {
212
212
// Create `columns` Vec, and set `byte_offset_to_first`.
0 commit comments