-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'MAIN' into pattern-attr-indent
- Loading branch information
Showing
9 changed files
with
86 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--profile=janestreet | ||
--max-iter=3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,52 @@ | ||
type x = {foo: int; bar: int} | ||
type x = | ||
{ foo : int | ||
; bar : int | ||
} | ||
|
||
let x = {x with foo= 3; bar= 5} | ||
let x = { x with foo = 3; bar = 5 } | ||
|
||
let x = | ||
{ (* blah blah blah *) | ||
foo= 3 | ||
; bar= 5 } | ||
foo = 3 | ||
; bar = 5 | ||
} | ||
;; | ||
|
||
let x = [{x with foo= 3; bar= 5}] | ||
let x = [ { x with foo = 3; bar = 5 } ] | ||
|
||
let x = | ||
[ { (* blah blah blah *) | ||
foo= 3 | ||
; bar= 5 } ] | ||
|
||
let x = {M.x with M.foo= 3} | ||
|
||
let x = {x with M.foo= 3} | ||
|
||
let x = {M.foo= 3} | ||
|
||
let _ = {foo with Bar.field1= value1; field2= value2} | ||
|
||
let _ = {foo with Bar.field1= value1; field2= value2} | ||
foo = 3 | ||
; bar = 5 | ||
} | ||
] | ||
;; | ||
|
||
let x = { M.x with M.foo = 3 } | ||
let x = { x with M.foo = 3 } | ||
let x = { M.foo = 3 } | ||
let _ = { foo with Bar.field1 = value1; field2 = value2 } | ||
let _ = { foo with Bar.field1 = value1; field2 = value2 } | ||
|
||
(* multicomponent record module pathname *) | ||
let _ = {A.B.a= b; c= d} | ||
|
||
type t = {a: something_lengthy list list [@default String.Map.empty]} | ||
|
||
type t = {a: Something_lengthy.t list list [@default String.Map.empty]} | ||
|
||
type t = {a: something_lengthy list list} | ||
|
||
type t = {a: Something_lengthy.t list list} | ||
|
||
type t = {a: Something_lengthy.t list} | ||
let _ = { A.B.a = b; c = d } | ||
|
||
type t = { a : something_lengthy list list [@default String.Map.empty] } | ||
type t = { a : Something_lengthy.t list list [@default String.Map.empty] } | ||
type t = { a : something_lengthy list list } | ||
type t = { a : Something_lengthy.t list list } | ||
type t = { a : Something_lengthy.t list } | ||
|
||
type t = | ||
{ for_intf : Dune_rules.Module_name.t list | ||
(* direct module dependencies for the interface *) | ||
; for_impl : Dune_rules.Module_name.t list | ||
(* direct module dependencies for the implementation *) | ||
} | ||
|
||
type t = | ||
{ for_intf : Dune_rules.Module_name.t list | ||
(* direct module dependencies for the interface *) | ||
(* direct module dependencies for the interface *) | ||
; for_impl : Dune_rules.Module_name.t list | ||
} |