Skip to content

Commit 36de1b2

Browse files
committed
fix: catch Ill_typed from merlin
Signed-off-by: Rudi Grinberg <[email protected]> ps-id: A0F9104E-BC4D-4A88-9378-7587291A2AAF
1 parent 7dffbb2 commit 36de1b2

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 1.10.2
2+
3+
## Fixes
4+
5+
- Catch merlin desturct exceptions (#626)
6+
17
# 1.10.1
28

39
## Fixes

ocaml-lsp-server/src/code_actions/action_destruct.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ let code_action (state : State.t) doc (params : CodeActionParams.t) =
6565
( Merlin_analysis.Destruct.Wrong_parent _ | Query_commands.No_nodes
6666
| Merlin_analysis.Destruct.Not_allowed _
6767
| Merlin_analysis.Destruct.Useless_refine
68+
| Merlin_analysis.Destruct.Ill_typed
6869
| Merlin_analysis.Destruct.Nothing_to_do )
6970
; backtrace = _
7071
} ->

0 commit comments

Comments
 (0)