Skip to content

Commit ab6f404

Browse files
committed
Add cram test to reproduce
1 parent ebe3abd commit ab6f404

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
FIXME: Signature help should not appear on the name of the function (here on `map`):
2+
$ cat > test.ml <<'EOF'
3+
> let v = List.map Fun.id
4+
> EOF
5+
6+
$ $MERLIN single signature-help -position 1:15 -filename test < test.ml
7+
{
8+
"class": "return",
9+
"value": {
10+
"signatures": [
11+
{
12+
"label": "List.map : ('_weak1 -> '_weak1) -> '_weak1 list -> '_weak1 list",
13+
"parameters": [
14+
{
15+
"label": [
16+
11,
17+
31
18+
]
19+
},
20+
{
21+
"label": [
22+
35,
23+
47
24+
]
25+
}
26+
]
27+
}
28+
],
29+
"activeParameter": 0,
30+
"activeSignature": 0
31+
},
32+
"notifications": []
33+
}

0 commit comments

Comments
 (0)