File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 18
18
- Pass the rewatch exit code through in wrapper script. https://github.com/rescript-lang/rescript/pull/7565
19
19
- Prop punning when types don't match results in I/O error: _ none_ : No such file or directory. https://github.com/rescript-lang/rescript/pull/7533
20
20
- Pass location to children prop in jsx ppx. https://github.com/rescript-lang/rescript/pull/7540
21
+ - Fix crash when ` bs-g ` is used with untagged variants. https://github.com/rescript-lang/rescript/pull/7575
21
22
22
23
#### :nail_care : Polish
23
24
Original file line number Diff line number Diff line change @@ -949,7 +949,8 @@ and expression_desc cxt ~(level : int) f x : cxt =
949
949
| false , 1 -> Js_op. Lit Literals. tl
950
950
| _ -> Js_op. Lit (" _" ^ string_of_int i)),
951
951
e ))
952
- (if ! Js_config. debug && not_is_cons then [(name_symbol, E. str p.name)]
952
+ (if ! Js_config. debug && (not untagged) && not_is_cons then
953
+ [(name_symbol, E. str p.name)]
953
954
else [] )
954
955
in
955
956
if untagged || (not_is_cons = false && p.num_nonconst = 1 ) then tails
You can’t perform that action at this time.
0 commit comments