Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ impl<'a, 'ctx> TaggedTemplateTransform<'a, 'ctx> {
}

/// Transform a tagged template expression to use the [`Helper::TaggedTemplateLiteral`] helper function.
#[cold] // Tagged template expressions are rare
fn transform_tagged_template(&self, expr: &mut Expression<'a>, ctx: &mut TraverseCtx<'a>) {
debug_assert!(matches!(expr, Expression::TaggedTemplateExpression(_)));

Expand Down
Loading