2525
2626
2727 Syntax error!
28- tests/parsing/infiniteLoops/nonRecTypes.res:67 :26-68 :3
28+ tests/parsing/infiniteLoops/nonRecTypes.res:61 :26-62 :3
2929
30- 65 │ };
31- 66 │ let has = (rbt, value) => _findNode(rbt, rootGet(rbt), value) !== None;
32- 67 │ let rec minNode = node =>
33- 68 │ let findMin = rbt =>
34- 69 │ let removeNode = (rbt, node) => {
35- 70 │ let nodeToRemove =
30+ 59 │ };
31+ 60 │ let has = (rbt, value) => _findNode(rbt, rootGet(rbt), value) !== None;
32+ 61 │ let rec minNode = node =>
33+ 62 │ let findMin = rbt =>
34+ 63 │ let removeNode = (rbt, node) => {
35+ 64 │ let nodeToRemove =
3636
3737 I'm not sure what to parse here when looking at "let".
3838
3939
4040 Syntax error!
41- tests/parsing/infiniteLoops/nonRecTypes.res:68 :21-69 :3
41+ tests/parsing/infiniteLoops/nonRecTypes.res:62 :21-63 :3
4242
43- 66 │ let has = (rbt, value) => _findNode(rbt, rootGet(rbt), value) !== None;
44- 67 │ let rec minNode = node =>
45- 68 │ let findMin = rbt =>
46- 69 │ let removeNode = (rbt, node) => {
47- 70 │ let nodeToRemove =
48- 71 │ switch (leftGet(node), rightGet(node)) {
43+ 60 │ let has = (rbt, value) => _findNode(rbt, rootGet(rbt), value) !== None;
44+ 61 │ let rec minNode = node =>
45+ 62 │ let findMin = rbt =>
46+ 63 │ let removeNode = (rbt, node) => {
47+ 64 │ let nodeToRemove =
48+ 65 │ switch (leftGet(node), rightGet(node)) {
4949
5050 I'm not sure what to parse here when looking at "let".
5151
5252
5353 Syntax error!
54- tests/parsing/infiniteLoops/nonRecTypes.res:434 :31-38
54+ tests/parsing/infiniteLoops/nonRecTypes.res:428 :31-38
5555
56- 432 │ updateSum(Some(node), ~delta);
57- 433 │ };
58- 434 │ type nonrec oldNewVisibleNodes('value) = {
59- 435 │ mutable old: array('value),
60- 436 │ mutable new_: array('value),
56+ 426 │ updateSum(Some(node), ~delta);
57+ 427 │ };
58+ 428 │ type nonrec oldNewVisibleNodes('value) = {
59+ 429 │ mutable old: array('value),
60+ 430 │ mutable new_: array('value),
6161
6262 Type parameters require angle brackets:
6363 oldNewVisibleNodes<'value>
@@ -93,10 +93,8 @@ include
9393 ;;{js|BS:6.0.1\x84\x95\xa6\xbe\0\0\0\x15\0\0\0\t\0\0\0\x1a\0\0\0\x19\xb0\xa0\xa0A\x91@\xa0\xa0A\x04\x03@E\x97\xa0$size@|js}
9494 ;;[|(({js|use sizeGet instead or use {abstract = light} explicitly|js})
9595 [@ocaml.deprecated ])|]
96- ;;[|((1)[@internal.arity ])|]
9796 external size : ('value t -> int, [ `Has_arity1 ]) function$ = ""
9897 ;;{js|BS:6.0.1\x84\x95\xa6\xbe\0\0\0\x10\0\0\0\x07\0\0\0\x14\0\0\0\x13\xb0\xa0\xa0A\x91@@A\x98\xa0$size@|js}
99- ;;[|((1)[@internal.arity ])|]
10098 external sizeGet : ('value t -> int, [ `Has_arity1 ]) function$ = ""
10199 ;;{js|BS:6.0.1\x84\x95\xa6\xbe\0\0\0\x10\0\0\0\x07\0\0\0\x14\0\0\0\x13\xb0\xa0\xa0A\x91@@A\x98\xa0$size@|js}
102100 external rootSet :
@@ -105,24 +103,20 @@ include
105103 ;;{js|BS:6.0.1\x84\x95\xa6\xbe\0\0\0\x15\0\0\0\t\0\0\0\x1a\0\0\0\x19\xb0\xa0\xa0A\x91@\xa0\xa0A\x04\x03@E\x97\xa0$root@|js}
106104 ;;[|(({js|use rootGet instead or use {abstract = light} explicitly|js})
107105 [@ocaml.deprecated ])|]
108- ;;[|((1)[@internal.arity ])|]
109106 external root :
110107 ('value t -> 'value node option, [ `Has_arity1 ]) function$ = ""
111108 ;;{js|BS:6.0.1\x84\x95\xa6\xbe\0\0\0\x10\0\0\0\x07\0\0\0\x14\0\0\0\x13\xb0\xa0\xa0A\x91@@A\x98\xa0$root@|js}
112- ;;[|((1)[@internal.arity ])|]
113109 external rootGet :
114110 ('value t -> 'value node option, [ `Has_arity1 ]) function$ = ""
115111 ;;{js|BS:6.0.1\x84\x95\xa6\xbe\0\0\0\x10\0\0\0\x07\0\0\0\x14\0\0\0\x13\xb0\xa0\xa0A\x91@@A\x98\xa0$root@|js}
116112 ;;[|(({js|use compareGet instead or use {abstract = light} explicitly|js})
117113 [@ocaml.deprecated ])|]
118- ;;[|((1)[@internal.arity ])|]
119114 external compare :
120115 ('value t -> [ [%rescript.typehole ]] Js.Internal.fn,
121116 [ `Has_arity1 ]) function$
122117 ;;(({js|Arity_2('value, 'value)], int) =
123118 ""
124119 "BS:6.0.1\x84\x95\xa6\xbe\0\0\0\x13\0\0\0\x07\0\0\0\x14\0\0\0\x13\xb0\xa0\xa0A\x91@@A\x98\xa0'compare@";
125- [@internal.arity 1]
126120 external compareGet:
127121 t('value) => Js.Internal.fn([ | |js})
128122 [@res.template ])
0 commit comments