Closed
Description
Examples from jscomp/test:
@obj external ff: (~x: int, ~h: @as(3) _) => _ = ""
Reformatted once:
@obj external ff: (~x: int) => (~h: @as(3) _) => _ = ""
Reformatted again:
@obj external ff: (~x: int) => = ""
Similarly
@obj
external ff: (
~hi: int,
~lo: @as(3) _,
~lo2: @as(json`{hi:-3 }`) _,
~lo3: @as(-1) _,
~lo4: @as(json`-3`) _,
) => _ = ""
Reformatted once:
@obj
external ff: (
~hi: int,
) => (
~lo: @as(3) _,
~lo2: @as(json`{hi:-3 }`) _,
~lo3: @as(-1) _,
~lo4: @as(json`-3`) _,
) => _ = ""
Reformatted again:
@obj
external ff: (~hi: int) => = ""