Skip to content

Commit

Permalink
fix common
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Mar 25, 2024
1 parent 22a8aaf commit bcea19d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/swc_common/src/source_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ impl SourceMap {
}

if pos == BytePos(u32::MAX) {
builder.add_raw(lc.line, lc.col, 0, 0, Some(src_id), None);
builder.add_raw(lc.line, lc.col, 0, 0, Some(src_id), None, false);
continue;
}

Expand Down Expand Up @@ -1352,7 +1352,7 @@ impl SourceMap {
.or_else(|| config.name_for_bytepos(pos))
.map(|name| builder.add_name(name));

builder.add_raw(lc.line, lc.col, line, col, Some(src_id), name_idx);
builder.add_raw(lc.line, lc.col, line, col, Some(src_id), name_idx, false);
prev_dst_line = lc.line;
}

Expand Down

0 comments on commit bcea19d

Please sign in to comment.