fix(codegen): CallExpression sourcemap (#2717)

This commit is contained in:
underfin 2024-03-14 15:53:22 +08:00 committed by GitHub
parent f8fe3af3cf
commit 9609c34e6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 571 additions and 283 deletions

View file

@ -1359,6 +1359,7 @@ impl<'a, const MINIFY: bool> GenExpr<MINIFY> for CallExpression<'a> {
p.print(b'(');
p.print_list(&self.arguments, ctx);
p.print(b')');
p.add_source_mapping(self.span.end);
});
}
}

File diff suppressed because it is too large Load diff