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 1818-  Pass the rewatch exit code through in wrapper script. https://github.com/rescript-lang/rescript/pull/7565 
1919-  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 
2020-  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 
2122
2223#### :nail_care :  Polish 
2324
Original file line number Diff line number Diff line change @@ -949,7 +949,8 @@ and expression_desc cxt ~(level : int) f x : cxt =
949949              |  false , 1  -> Js_op. Lit  Literals. tl
950950              |  _  -> Js_op. Lit  (" _"   ^  string_of_int i)),
951951              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)]
953954           else  [] )
954955      in 
955956      if  untagged ||  (not_is_cons =  false  &&  p.num_nonconst =  1 ) then  tails
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments