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 2705e3d commit be81ae9Copy full SHA for be81ae9
jscomp/core/js_dump.ml
@@ -147,8 +147,6 @@ let exp_need_paren (e : J.expression) =
147
match e.expression_desc with
148
(* | Caml_uninitialized_obj _ *)
149
| Call ({ expression_desc = Fun _ | Raw_js_code _ }, _, _) -> true
150
- (* TODO: implement this *)
151
- | Tagged_template _ -> false
152
| Raw_js_code { code_info = Exp _ }
153
| Fun _
154
| Caml_block
@@ -167,6 +165,7 @@ let exp_need_paren (e : J.expression) =
167
165
| Js_not _ | Bool _ | New _ ->
168
166
false
169
| Await _ -> false
+ | Tagged_template _ -> false
170
171
let comma_idents (cxt : cxt) f ls = iter_lst cxt f ls Ext_pp_scope.ident comma
172
0 commit comments