Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Dec 11, 2023
1 parent 82b225c commit 867a17e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions compiler/lib/js_output.ml
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,8 @@ struct
| EUn _
| ENew _
| EClass _
| EYield _ |EYieldDelegate _ -> false
| EYield _
| EYieldDelegate _ -> false
| CoverCallExpressionAndAsyncArrowHead e
| CoverParenthesizedExpressionAndArrowParameterList e -> early_error e
in
Expand Down Expand Up @@ -868,7 +869,8 @@ struct
| None -> ()
| Some o -> PP.string f o)
| EYield _ | EYieldDelegate _ -> (
let kw,e = match e with
let kw, e =
match e with
| EYield e -> "yield", e
| EYieldDelegate e -> "yield*", e
| _ -> assert false
Expand Down Expand Up @@ -1727,9 +1729,8 @@ struct
| CEStaticBLock l ->
PP.string f "static";
block f l;
PP.break f)
; PP.end_group f
);
PP.break f);
PP.end_group f);
PP.end_group f;
PP.string f "}"
Expand Down

0 comments on commit 867a17e

Please sign in to comment.