File tree Expand file tree Collapse file tree 1 file changed +11
-22
lines changed
Expand file tree Collapse file tree 1 file changed +11
-22
lines changed Original file line number Diff line number Diff line change @@ -391,17 +391,9 @@ Attribute location should not affect functionality.
391391 > [@@@ merlin . document
392392 > [ { location =
393393 > { loc_start =
394- > { pos_fname = " attribute-at-top.ml"
395- > ; pos_lnum = 42
396- > ; pos_bol = 1014
397- > ; pos_cnum = 1027
398- > }
394+ > { pos_fname = " attribute-at-top.ml" ; pos_lnum = 31 ; pos_bol = 867 ; pos_cnum = 880 }
399395 > ; loc_end =
400- > { pos_fname = " attribute-at-top.ml"
401- > ; pos_lnum = 42
402- > ; pos_bol = 1014
403- > ; pos_cnum = 1034
404- > }
396+ > { pos_fname = " attribute-at-top.ml" ; pos_lnum = 31 ; pos_bol = 867 ; pos_cnum = 887 }
405397 > ; loc_ghost = false
406398 > }
407399 > ; payload = " @ add_one expands expressions with a '+ 1'"
@@ -411,28 +403,25 @@ Attribute location should not affect functionality.
411403 > [@@@ merlin . locate
412404 > [ { location =
413405 > { loc_start =
414- > { pos_fname = " attribute-at-top.ml"
415- > ; pos_lnum = 42
416- > ; pos_bol = 1014
417- > ; pos_cnum = 1027
418- > }
406+ > { pos_fname = " attribute-at-top.ml" ; pos_lnum = 31 ; pos_bol = 867 ; pos_cnum = 880 }
419407 > ; loc_end =
420- > { pos_fname = " attribute-at-top.ml"
421- > ; pos_lnum = 42
422- > ; pos_bol = 1014
423- > ; pos_cnum = 1034
424- > }
408+ > { pos_fname = " attribute-at-top.ml" ; pos_lnum = 31 ; pos_bol = 867 ; pos_cnum = 887 }
425409 > ; loc_ghost = false
426410 > }
427411 > ; payload =
428- > { pos_fname = " test/ppx.ml" ; pos_lnum = 53 ; pos_bol = 1612 ; pos_cnum = 1633 }
412+ > { pos_fname =
413+ > " test/ppx.ml"
414+ > ; pos_lnum = 53
415+ > ; pos_bol = 1612
416+ > ; pos_cnum = 1633
417+ > }
429418 > }
430419 > ]]
431420 >
432421 > let _ = (0 [@ add_one ]) + 2
433422 > EOF
434423
435- $ test_merlin_overrides " 42 :13" " ./attribute-at-top.ml"
424+ $ test_merlin_overrides " 31 :13" " ./attribute-at-top.ml"
436425 [merlin locate] output: {
437426 " file" : " $ TESTCASE_ROOT /test/ppx.ml" ,
438427 " pos" : {
You can’t perform that action at this time.
0 commit comments