Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit d1a4a12

Browse files
committed
tweak test
1 parent 64195ca commit d1a4a12

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
let foo = (x, y) => {
22
let Some(vx) = x
3+
let x1 = vx+1
34
let Some(vy) = y
4-
Some(vx + vy)
5+
let y1 = vy+1
6+
Some(x1 + y1)
57
}
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
let foo x y =
22
((match x with
33
| None -> None
4-
| Some vx -> (match y with | None -> None | Some vy -> Some (vx + vy)))
4+
| Some vx ->
5+
let x1 = vx + 1 in
6+
(match y with
7+
| None -> None
8+
| Some vy -> let y1 = vy + 1 in Some (x1 + y1)))
59
[@ns.braces ])

0 commit comments

Comments
 (0)