Skip to content

Commit 54eb5ae

Browse files
committed
Add a test illustrating the issue
1 parent de7767b commit 54eb5ae

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
$ cat >dune-project <<EOF
2+
> (lang dune 3.0)
3+
> EOF
4+
5+
$ cat >dune <<EOF
6+
> (library
7+
> (name foo))
8+
> EOF
9+
10+
$ cat >foo.ml <<EOF
11+
> exception Unix_error = Unix.Unix_error
12+
> EOF
13+
14+
$ dune build
15+
16+
FIXME: Merlin should jump to stdlib Unix.Unix_error
17+
$ $MERLIN single locate -look-for ml -position 1:31 \
18+
> -filename foo.ml <foo.ml
19+
{
20+
"class": "return",
21+
"value": "Already at definition point",
22+
"notifications": []
23+
}
24+
25+
FIXME: Merlin should jump to stdlib Unix
26+
$ $MERLIN single locate -look-for ml -position 1:25 \
27+
> -filename foo.ml <foo.ml
28+
{
29+
"class": "return",
30+
"value": "Already at definition point",
31+
"notifications": []
32+
}

0 commit comments

Comments
 (0)