Skip to content

Commit

Permalink
remote unused variant
Browse files Browse the repository at this point in the history
  • Loading branch information
PizieDust committed Apr 4, 2024
1 parent 0942b58 commit b4cd88a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/frontend/ocamlmerlin/query_json.ml
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,7 @@ let json_of_response (type a) (query : a t) (response : a) : json =
| Expand_node _, resp ->
(match resp with
| `Found info -> `String info
| `No_deriver -> `String "No PPX deriver/extension node found on this position"
| `No_code -> `String "No code generated")
| `No_deriver -> `String "No PPX deriver/extension node found on this position")
| Locate_type _, resp -> json_of_locate resp
| Locate _, resp -> json_of_locate resp
| Jump _, resp ->
Expand Down
1 change: 0 additions & 1 deletion src/frontend/query_protocol.ml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ type _ t =
: Msource.position
-> [ `Found of string
| `No_deriver
| `No_code
] t
| Locate_type
: Msource.position
Expand Down

0 comments on commit b4cd88a

Please sign in to comment.