File tree 4 files changed +21
-0
lines changed
4 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 12
12
13
13
# 11.1.1
14
14
15
+ #### :bug : Bug Fix
16
+
17
+ - Fix formatter eats comments on the first argument of a uncurried function. https://github.com/rescript-lang/rescript-compiler/pull/6763
18
+ - Fix formatter removes parens in pipe operator with anonymous uncurried function. https://github.com/rescript-lang/rescript-compiler/pull/6766
19
+
15
20
# 11.1.0
16
21
17
22
#### :bug : Bug Fix
Original file line number Diff line number Diff line change @@ -180,6 +180,7 @@ let flattenOperandRhs parentOperator rhs =
180
180
let precParent = ParsetreeViewer. operatorPrecedence parentOperator in
181
181
let precChild = ParsetreeViewer. operatorPrecedence operator in
182
182
precParent > = precChild || rhs.pexp_attributes <> []
183
+ | Pexp_construct ({txt = Lident "Function$" } , Some _ ) -> true
183
184
| Pexp_constraint ({pexp_desc = Pexp_pack _ } , {ptyp_desc = Ptyp_package _ } ) ->
184
185
false
185
186
| Pexp_fun _ when ParsetreeViewer. isUnderscoreApplySugar rhs -> false
Original file line number Diff line number Diff line change @@ -31,3 +31,11 @@ let messages = React.useMemo(() =>
31
31
->Array.filter(ChatMessage.isVisibleInSimpleFilter)
32
32
->Array.toSorted(ChatMessage.compareByDateAsc)
33
33
, [messagesById])
34
+
35
+ f->(v => g(x))->g
36
+
37
+ f->v->g
38
+
39
+ x->(v => g(x))->f->(v => g(x)->k)->g
40
+
41
+ f->(v => g(x)->k->(x => s(x)))->g
Original file line number Diff line number Diff line change @@ -29,3 +29,10 @@ let messages = React.useMemo(() =>
29
29
-> Array .toSorted (ChatMessage .compareByDateAsc )
30
30
, [messagesById ])
31
31
32
+ f -> (v => g (x ))-> g
33
+
34
+ f -> (v )-> g
35
+
36
+ x -> (v => g (x ))-> f -> (v => g (x )-> k )-> g
37
+
38
+ f -> (v => g (x )-> k -> (x => s (x )))-> g
You can’t perform that action at this time.
0 commit comments