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

Commit 0d5c02b

Browse files
committed
Tweak test to show the difference between -> or |> and ** in printing.
1 parent a59938f commit 0d5c02b

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
let s1 = @ann x->foo
2-
let s2 = @ann foo(x)
3-
let s3 = @ann x |> foo
2+
let s1b = (@ann x)->foo
3+
4+
let s2 = @ann x |> foo
5+
let s2b = (@ann x) |> foo
6+
7+
let s3 = @ann (x ** foo)
8+
let s3b = (@ann x) ** foo

tests/printer/expr/pipe.res

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
let s1 = @ann (x->foo)
2-
let s2 = @ann (foo(x))
3-
let s3 = @ann (x|>foo)
2+
let s1b = @ann x->foo
3+
4+
let s2 = @ann (x|>foo)
5+
let s2b = @ann x|>foo
6+
7+
let s3 = @ann (x**foo)
8+
let s3b = @ann x**foo

0 commit comments

Comments
 (0)