Skip to content

Commit bcfca17

Browse files
committed
format
1 parent 0ea029a commit bcfca17

File tree

4 files changed

+32
-12
lines changed

4 files changed

+32
-12
lines changed

compiler/dune

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
1-
(dirs bsb bsb_exe bsb_helper bsb_helper_exe bsc cmij common core depends ext
2-
frontend gentype jsoo js_parser ml syntax)
1+
(dirs
2+
bsb
3+
bsb_exe
4+
bsb_helper
5+
bsb_helper_exe
6+
bsc
7+
cmij
8+
common
9+
core
10+
depends
11+
ext
12+
frontend
13+
gentype
14+
jsoo
15+
js_parser
16+
ml
17+
syntax)
318

419
(env
520
(dev

compiler/ext/dune

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@
33
(wrapped false)
44
(preprocess
55
(action
6-
(run %{bin:cppo} -V OCAML:%{ocaml_version} %{env:CPPO_FLAGS=}
7-
%{input-file})))
6+
(run
7+
%{bin:cppo}
8+
-V
9+
OCAML:%{ocaml_version}
10+
%{env:CPPO_FLAGS=}
11+
%{input-file})))
812
(flags
913
(:standard -w +a-4-42-40-9-48-70))
1014
(foreign_stubs

compiler/jsoo/dune

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@
88
(flags
99
(:standard -w +a-4-9-40-42-44-45))
1010
(libraries core syntax ml js_of_ocaml)
11-
(preprocess (pps js_of_ocaml-ppx)))
11+
(preprocess
12+
(pps js_of_ocaml-ppx)))

tests/syntax_benchmarks/Benchmark.ml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@ module Time : sig
3333

3434
val now : unit -> t
3535

36-
val[@warning "-32"] to_uint64 : t -> int64
36+
val [@warning "-32"] to_uint64 : t -> int64
3737

3838
(* let of_uint64_ns ns = ns *)
3939

40-
val[@warning "-32"] nanosecond : t
41-
val[@warning "-32"] microsecond : t
42-
val[@warning "-32"] millisecond : t
43-
val[@warning "-32"] second : t
44-
val[@warning "-32"] minute : t
45-
val[@warning "-32"] hour : t
40+
val [@warning "-32"] nanosecond : t
41+
val [@warning "-32"] microsecond : t
42+
val [@warning "-32"] millisecond : t
43+
val [@warning "-32"] second : t
44+
val [@warning "-32"] minute : t
45+
val [@warning "-32"] hour : t
4646

4747
val zero : t
4848

0 commit comments

Comments
 (0)