{"action":"created","issue":{"url":"https://api.github.com/repos/idanarye/vim-dutyl/issues/33","repository_url":"https://api.github.com/repos/idanarye/vim-dutyl","labels_url":"https://api.github.com/repos/idanarye/vim-dutyl/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/idanarye/vim-dutyl/issues/33/comments","events_url":"https://api.github.com/repos/idanarye/vim-dutyl/issues/33/events","html_url":"https://github.com/idanarye/vim-dutyl/issues/33","id":170765681,"number":33,"title":"simple example crashes","user":{"login":"John-Colvin","id":1867189,"avatar_url":"https://avatars.githubusercontent.com/u/1867189?v=3","gravatar_id":"","url":"https://api.github.com/users/John-Colvin","html_url":"https://github.com/John-Colvin","followers_url":"https://api.github.com/users/John-Colvin/followers","following_url":"https://api.github.com/users/John-Colvin/following{/other_user}","gists_url":"https://api.github.com/users/John-Colvin/gists{/gist_id}","starred_url":"https://api.github.com/users/John-Colvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/John-Colvin/subscriptions","organizations_url":"https://api.github.com/users/John-Colvin/orgs","repos_url":"https://api.github.com/users/John-Colvin/repos","events_url":"https://api.github.com/users/John-Colvin/events{/privacy}","received_events_url":"https://api.github.com/users/John-Colvin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-11T22:53:22Z","updated_at":"2016-08-11T23:15:14Z","closed_at":null,"body":"```\r\n/// some function\r\nvoid foo() { }\r\n\r\nvoid bar()\r\n{\r\n\tfoo();\r\n}\r\n```\r\n\r\n`:DUddoc` with the cursor on the call to `foo` causes this error:\r\n```\r\nError detected while processing function dutyl#displayDDocForSymbolUnderCursor[10]..5[5]..<SNR>42_runDCDOnBufferBytePosition[1]..<SNR>42_runDCDOnBuffer:\r\nline    3:\r\nE605: Exception not caught: object.Exception@src/common/messages.d(188): Server closed the connection, 0 bytes received^@----------------^@4   dcd-client              \r\n            0x000000010a1c72cb common.messages.AutocompleteResponse common.messages.getResponse(std.socket.Socket) + 359^@5   dcd-client                          0x000\r\n000010a1c5804 _Dmain + 5868^@6   dcd-client                          0x000000010a21764b D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv + 39^@7   dcd-cli\r\nent                          0x000000010a21757f void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) + 35^@8   dc\r\nd-client                          0x000000010a2175f0 void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll() + 44^@9   dcd-client         \r\n                 0x000000010a21757f void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) + 35^@10  dcd-client    \r\n                      0x000000\r\n```"},"comment":{"url":"https://api.github.com/repos/idanarye/vim-dutyl/issues/comments/239321562","html_url":"https://github.com/idanarye/vim-dutyl/issues/33#issuecomment-239321562","issue_url":"https://api.github.com/repos/idanarye/vim-dutyl/issues/33","id":239321562,"user":{"login":"idanarye","id":1149255,"avatar_url":"https://avatars.githubusercontent.com/u/1149255?v=3","gravatar_id":"","url":"https://api.github.com/users/idanarye","html_url":"https://github.com/idanarye","followers_url":"https://api.github.com/users/idanarye/followers","following_url":"https://api.github.com/users/idanarye/following{/other_user}","gists_url":"https://api.github.com/users/idanarye/gists{/gist_id}","starred_url":"https://api.github.com/users/idanarye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idanarye/subscriptions","organizations_url":"https://api.github.com/users/idanarye/orgs","repos_url":"https://api.github.com/users/idanarye/repos","events_url":"https://api.github.com/users/idanarye/events{/privacy}","received_events_url":"https://api.github.com/users/idanarye/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T23:15:14Z","updated_at":"2016-08-11T23:15:14Z","body":"Weird - it works perfectly when I try it... But it looks like a server-side error. Could you try running `dcd-server` in a console and see if it prints and error messages?"}}
{"actor":{"display_login":"idanarye"}}