{"action":"opened","issue":{"url":"https://api.github.com/repos/ocaml/merlin/issues/885","repository_url":"https://api.github.com/repos/ocaml/merlin","labels_url":"https://api.github.com/repos/ocaml/merlin/issues/885/labels{/name}","comments_url":"https://api.github.com/repos/ocaml/merlin/issues/885/comments","events_url":"https://api.github.com/repos/ocaml/merlin/issues/885/events","html_url":"https://github.com/ocaml/merlin/issues/885","id":382710848,"node_id":"MDU6SXNzdWUzODI3MTA4NDg=","number":885,"title":"Feature request: Go to the type inferred at point","user":{"login":"Wilfred","id":70800,"node_id":"MDQ6VXNlcjcwODAw","avatar_url":"https://avatars0.githubusercontent.com/u/70800?v=4","gravatar_id":"","url":"https://api.github.com/users/Wilfred","html_url":"https://github.com/Wilfred","followers_url":"https://api.github.com/users/Wilfred/followers","following_url":"https://api.github.com/users/Wilfred/following{/other_user}","gists_url":"https://api.github.com/users/Wilfred/gists{/gist_id}","starred_url":"https://api.github.com/users/Wilfred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wilfred/subscriptions","organizations_url":"https://api.github.com/users/Wilfred/orgs","repos_url":"https://api.github.com/users/Wilfred/repos","events_url":"https://api.github.com/users/Wilfred/events{/privacy}","received_events_url":"https://api.github.com/users/Wilfred/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-20T15:17:24Z","updated_at":"2018-11-20T15:17:24Z","closed_at":null,"author_association":"NONE","body":"```\r\ntype 'a tree =\r\n  Empty : 'a tree\r\n| Tree : 'a tree * 'a * 'a tree -> 'a tree;;\r\n\r\nlet rec count_leaves t =\r\n  match t with\r\n    Empty -> 1\r\n  | Tree (left, _, right) -> count_leaves left + count_leaves right\r\n```\r\n\r\nWith point on `t`, I can use `M-x merlin-type-enclosing` to see that `t` has type `'a tree`. However, I'd love a way to jump to the the definition of `tree` from here. I can't see any way of doing so.\r\n\r\nIs this possible? I've had a look at the wiki and read through `merlin.el` but I don't see any obvious way of doing this."}}
{"actor":{"display_login":"Wilfred"}}