Skip to content

Commit

Permalink
One more example.
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianoc committed May 31, 2022
1 parent 3d65ea9 commit 84c06b6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions analysis/tests/src/Hover.res
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,9 @@ let arity0b = (. (), . ()) => 3

let arity0c = (. (), ()) => 3
// ^hov

let arity0d = (. ()) => {
// ^hov
let f = () => 3
f
}
3 changes: 3 additions & 0 deletions analysis/tests/src/expected/Hover.res.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,6 @@ Hover tests/src/Hover.res 121:4
Hover tests/src/Hover.res 124:4
{"contents": "```rescript\n(. unit, unit) => int\n```"}

Hover tests/src/Hover.res 127:5
{"contents": "```rescript\n(.) => unit => int\n```"}

0 comments on commit 84c06b6

Please sign in to comment.