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

Commit a40a9ff

Browse files
committed
Add example of pipe reformat eating annotation
See rescript-lang/rescript#5627
1 parent a4a5bda commit a40a9ff

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
let s1 = x->foo
2+
let s2 = @ann foo(x)

tests/printer/expr/pipe.res

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
let s1 = @ann (x->foo)
2+
let s2 = @ann (foo(x))

0 commit comments

Comments
 (0)