File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
tests/test-dirs/signature-help Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ unreleased
1111 - Add a test to ensure the code fragment exhibited in issue #1118 no longer makes Merlin crash (#1996 )
1212 - Add a test case illustrating how a snippet produces two unrelated errors in issue #2000 . (#2003 )
1313 - Add a test reproducing issue #1983 where ` document ` command which sometime concatenates consecutive variants and labels (#2005 )
14+ - Signature-help should trigger on unfinished ` let ... in ` bindings (#2009 )
15+
1416
1517merlin 5.6
1618==========
Original file line number Diff line number Diff line change 1+ $ cat > test1. ml << ' EOF'
2+ > let _ =
3+ > let f = List . map in
4+ > let _ = 5 in
5+ > 7
6+ > EOF
7+
8+ $ $ MERLIN single signature-help -position 2 : 17 -filename test1 < test1. ml | jq ' .value.signatures[0].label'
9+ " List.map : ('a -> 'b) -> 'a list -> 'b list"
10+
11+ FIXME: Signature -help does not trigger on unfinished let ... in bindings.
12+ $ cat > test2. ml << ' EOF'
13+ > let _ =
14+ > let f = List . map
15+ > let _ = 5 in
16+ > 7
17+ > EOF
18+
19+ $ $ MERLIN single signature-help -position 2 : 17 -filename test2 < test2. ml | jq ' .value.signatures[0].label'
20+ null
You can’t perform that action at this time.
0 commit comments