We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 740d244 commit bfaa163Copy full SHA for bfaa163
tests/test-dirs/locate/issue949.t
@@ -0,0 +1,27 @@
1
+This test is for testing the behavior of identifiers with a . in them:
2
+
3
+ $ cat >main.ml <<EOF
4
+ > module A = struct let (+.) a b = a +. b end
5
+ > let f x = A.(x +. 1.)
6
+ > let g x = A.(+.) x 1.
7
+ > EOF
8
9
+ $ $MERLIN single locate -look-for ml -position 2:16 \
10
+ > -filename ./main.ml < ./main.ml | jq '.value'
11
+ {
12
+ "file": "$TESTCASE_ROOT/main.ml",
13
+ "pos": {
14
+ "line": 1,
15
+ "col": 22
16
+ }
17
18
19
+ $ $MERLIN single locate -look-for ml -position 3:14 \
20
21
22
23
24
25
26
27
tests/test-dirs/locate/issue949.t/issue949.ml
tests/test-dirs/locate/issue949.t/run.t
0 commit comments