Commit fa5e283 1 parent bbc5119 commit fa5e283 Copy full SHA for fa5e283
File tree 6 files changed +8
-19
lines changed
6 files changed +8
-19
lines changed Original file line number Diff line number Diff line change 1
- (lang dune 2 .9 )
1
+ (lang dune 3 .8 )
2
2
3
3
(name reason)
4
4
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ license: "MIT"
15
15
homepage: "https://reasonml.github.io/"
16
16
bug-reports: "https://github.com/reasonml/reason/issues"
17
17
depends: [
18
- "dune" {>= "2.9 "}
18
+ "dune" {>= "3.8 "}
19
19
"ocaml" {>= "4.06" & < "5.4"}
20
20
"ocamlfind" {build}
21
21
"dune-build-info" {>= "2.9.3"}
@@ -36,11 +36,9 @@ build: [
36
36
name
37
37
"-j"
38
38
jobs
39
- "--promote-install-files=false"
40
39
"@install"
41
40
"@runtest" {with-test}
42
41
"@doc" {with-doc}
43
42
]
44
- ["dune" "install" "-p" name "--create-install-files" name]
45
43
]
46
44
dev-repo: "git+https://github.com/reasonml/reason.git"
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ license: "MIT"
13
13
homepage: "https://reasonml.github.io/"
14
14
bug-reports: "https://github.com/reasonml/reason/issues"
15
15
depends: [
16
- "dune" {>= "2.9 "}
16
+ "dune" {>= "3.8 "}
17
17
"ocaml" {>= "4.06" & < "5.4"}
18
18
"reason" {= version}
19
19
"utop" {>= "2.0"}
@@ -29,11 +29,9 @@ build: [
29
29
name
30
30
"-j"
31
31
jobs
32
- "--promote-install-files=false"
33
32
"@install"
34
33
"@runtest" {with-test}
35
34
"@doc" {with-doc}
36
35
]
37
- ["dune" "install" "-p" name "--create-install-files" name]
38
36
]
39
37
dev-repo: "git+https://github.com/reasonml/reason.git"
Original file line number Diff line number Diff line change 1
1
(executable
2
2
(name main)
3
- (libraries fix menhirLib menhirSdk))
3
+ (libraries fix menhirLib menhirSdk)
4
+ (flags :standard -w -67))
Original file line number Diff line number Diff line change 65
65
(public_name reason)
66
66
(wrapped false)
67
67
(flags
68
- (:standard -w -9-52 -safe-string))
68
+ (:standard -w -9-52-67 -safe-string))
69
69
(modules
70
70
ocaml_util
71
71
reason_syntax_util
Original file line number Diff line number Diff line change @@ -794,17 +794,11 @@ type funcApplicationLabelStyle =
794
794
| WrapFinalListyItemIfFewerThan of int
795
795
796
796
type formatSettings =
797
- { (* Whether or not to expect that the original parser that generated the AST
798
- would have annotated constructor argument tuples with explicit arity to
799
- indicate that they are multiple arguments. (True if parsed in original
800
- OCaml AST, false if using Reason parser). *)
801
- constructorTupleImplicitArity : bool
802
- ; space : int
797
+ { space : int
803
798
; (* For curried arguments in function *definitions* only: Number of [space]s
804
799
to offset beyond the [let] keyword. Default 1. *)
805
800
listsRecordsIndent : int
806
801
; indentWrappedPatternArgs : int
807
- ; indentMatchCases : int
808
802
; (* Amount to indent in label-like constructs such as wrapped function
809
803
applications, etc - or even record fields. This is not the same concept
810
804
as an indented curried argument list. *)
@@ -867,11 +861,9 @@ type formatSettings =
867
861
}
868
862
869
863
let defaultSettings =
870
- { constructorTupleImplicitArity = false
871
- ; space = 1
864
+ { space = 1
872
865
; listsRecordsIndent = 2
873
866
; indentWrappedPatternArgs = 2
874
- ; indentMatchCases = 2
875
867
; indentAfterLabels = 2
876
868
; trySwitchIndent = 0
877
869
; funcApplicationLabelStyle = WrapFinalListyItemIfFewerThan 3
You can’t perform that action at this time.
0 commit comments