From 74e5616acce488ed2e033a371ca11bf03e3904b6 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 13 Nov 2023 13:02:36 +0000 Subject: [PATCH] feat(prettier) Print `Super` expression (#1264) --- crates/oxc_prettier/src/format.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oxc_prettier/src/format.rs b/crates/oxc_prettier/src/format.rs index 5f7d1641b..e908c941f 100644 --- a/crates/oxc_prettier/src/format.rs +++ b/crates/oxc_prettier/src/format.rs @@ -728,7 +728,7 @@ impl<'a> Format<'a> for TaggedTemplateExpression<'a> { impl<'a> Format<'a> for Super { fn format(&self, p: &mut Prettier<'a>) -> Doc<'a> { - Doc::Line + Doc::Str("super") } }