Skip to content

Commit

Permalink
add extra test for multiple fast pipes with underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
IwanKaramazow committed Aug 7, 2018
1 parent b005ce9 commit 90a6ebe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions formatTest/typeCheckedTests/expected_output/fastPipe.re
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ let doStuff = (a: int, b: int, c: int): int =>
let (|.) = (a, f) => f(a);

let t4: int = 5->doStuff(1, _, 7);
let t5: int =
5->doStuff(1, _, 7)->doStuff(1, _, 7);
1 change: 1 addition & 0 deletions formatTest/typeCheckedTests/input/fastPipe.re
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ let doStuff = (a: int, b: int, c: int): int => {
let (|.) = (a, f) => f(a);

let t4: int = 5->doStuff(1, _, 7);
let t5: int = 5->doStuff(1, _, 7)->doStuff(1, _, 7);

0 comments on commit 90a6ebe

Please sign in to comment.