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.
-bs-g
1 parent 75afc52 commit 37ca791Copy full SHA for 37ca791
compiler/core/js_dump.ml
@@ -949,7 +949,8 @@ and expression_desc cxt ~(level : int) f x : cxt =
949
| false, 1 -> Js_op.Lit Literals.tl
950
| _ -> Js_op.Lit ("_" ^ string_of_int i)),
951
e ))
952
- (if !Js_config.debug && not_is_cons then [(name_symbol, E.str p.name)]
+ (if !Js_config.debug && (not untagged) && not_is_cons then
953
+ [(name_symbol, E.str p.name)]
954
else [])
955
in
956
if untagged || (not_is_cons = false && p.num_nonconst = 1) then tails
0 commit comments