We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eb6304 commit 4e3cd1aCopy full SHA for 4e3cd1a
crates/turbopack-core/src/source_map/mod.rs
@@ -316,9 +316,6 @@ impl SourceMap {
316
SourceMap::Decoded(map) => {
317
let mut token = map
318
.lookup_token(line as u32, column as u32)
319
- // The sourcemap crate incorrectly returns a previous line's token when there's
320
- // not a match on this line.
321
- .filter(|t| t.get_dst_line() == line as u32)
322
.map(Token::from)
323
.unwrap_or_else(|| {
324
Token::Synthetic(SyntheticToken {
0 commit comments