{"action":"created","comment":{"url":"https://api.github.com/repos/w0rp/ale/pulls/comments/146877520","pull_request_review_id":71885025,"id":146877520,"diff_hunk":"@@ -66,12 +66,14 @@ function! ale#handlers#haskell#HandleGHCFormat(buffer, lines) abort\n \n         \" Replace temporary filenames in problem messages with the basename\n         let l:text = substitute(l:text, l:temp_filename_regex, l:basename, 'g')\n+        let l:detail = map(copy(a:lines), {key, val -> substitute(val, l:temp_filename_regex, l:basename, 'g')})","path":"autoload/ale/handlers/haskell.vim","position":4,"original_position":4,"commit_id":"ec758f8cacaf88a6207e41283ab651128527856c","original_commit_id":"ec758f8cacaf88a6207e41283ab651128527856c","user":{"login":"rob-b","id":84706,"avatar_url":"https://avatars2.githubusercontent.com/u/84706?v=4","gravatar_id":"","url":"https://api.github.com/users/rob-b","html_url":"https://github.com/rob-b","followers_url":"https://api.github.com/users/rob-b/followers","following_url":"https://api.github.com/users/rob-b/following{/other_user}","gists_url":"https://api.github.com/users/rob-b/gists{/gist_id}","starred_url":"https://api.github.com/users/rob-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rob-b/subscriptions","organizations_url":"https://api.github.com/users/rob-b/orgs","repos_url":"https://api.github.com/users/rob-b/repos","events_url":"https://api.github.com/users/rob-b/events{/privacy}","received_events_url":"https://api.github.com/users/rob-b/received_events","type":"User","site_admin":false},"body":"Ok I understand you now. To me, when you say \"That's too much information. If there's some extra information in lines nearby, you could parse and include just those lines instead.\" it sounded more like you just had a distaste for long messages. But the issue is that each line reports _all_ errors in the file when it should really report only the errors for that line. \r\n\r\nAm I correct in thinking that you have no issue with how long the detail gets as long as it correctly reports only the issues for the current line?","created_at":"2017-10-25T14:35:45Z","updated_at":"2017-10-25T14:35:45Z","html_url":"https://github.com/w0rp/ale/pull/1036#discussion_r146877520","pull_request_url":"https://api.github.com/repos/w0rp/ale/pulls/1036","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/w0rp/ale/pulls/comments/146877520"},"html":{"href":"https://github.com/w0rp/ale/pull/1036#discussion_r146877520"},"pull_request":{"href":"https://api.github.com/repos/w0rp/ale/pulls/1036"}},"in_reply_to_id":146855805},"pull_request":{"url":"https://api.github.com/repos/w0rp/ale/pulls/1036","id":148112345,"html_url":"https://github.com/w0rp/ale/pull/1036","diff_url":"https://github.com/w0rp/ale/pull/1036.diff","patch_url":"https://github.com/w0rp/ale/pull/1036.patch","issue_url":"https://api.github.com/repos/w0rp/ale/issues/1036","number":1036,"state":"open","locked":false,"title":"Add `detail` key to haskell ghc handler","user":{"login":"rob-b","id":84706,"avatar_url":"https://avatars2.githubusercontent.com/u/84706?v=4","gravatar_id":"","url":"https://api.github.com/users/rob-b","html_url":"https://github.com/rob-b","followers_url":"https://api.github.com/users/rob-b/followers","following_url":"https://api.github.com/users/rob-b/following{/other_user}","gists_url":"https://api.github.com/users/rob-b/gists{/gist_id}","starred_url":"https://api.github.com/users/rob-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rob-b/subscriptions","organizations_url":"https://api.github.com/users/rob-b/orgs","repos_url":"https://api.github.com/users/rob-b/repos","events_url":"https://api.github.com/users/rob-b/events{/privacy}","received_events_url":"https://api.github.com/users/rob-b/received_events","type":"User","site_admin":false},"body":"Add `detail` key to the dict returned from the haskell ghc handler","created_at":"2017-10-23T12:06:31Z","updated_at":"2017-10-25T14:35:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"61e6d1e23156f0b4235fd19382060e657a1a6e6b","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/w0rp/ale/pulls/1036/commits","review_comments_url":"https://api.github.com/repos/w0rp/ale/pulls/1036/comments","review_comment_url":"https://api.github.com/repos/w0rp/ale/pulls/comments{/number}","comments_url":"https://api.github.com/repos/w0rp/ale/issues/1036/comments","statuses_url":"https://api.github.com/repos/w0rp/ale/statuses/ec758f8cacaf88a6207e41283ab651128527856c","head":{"label":"rob-b:add-detail-field-to-haskell-handler","ref":"add-detail-field-to-haskell-handler","sha":"ec758f8cacaf88a6207e41283ab651128527856c","user":{"login":"rob-b","id":84706,"avatar_url":"https://avatars2.githubusercontent.com/u/84706?v=4","gravatar_id":"","url":"https://api.github.com/users/rob-b","html_url":"https://github.com/rob-b","followers_url":"https://api.github.com/users/rob-b/followers","following_url":"https://api.github.com/users/rob-b/following{/other_user}","gists_url":"https://api.github.com/users/rob-b/gists{/gist_id}","starred_url":"https://api.github.com/users/rob-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rob-b/subscriptions","organizations_url":"https://api.github.com/users/rob-b/orgs","repos_url":"https://api.github.com/users/rob-b/repos","events_url":"https://api.github.com/users/rob-b/events{/privacy}","received_events_url":"https://api.github.com/users/rob-b/received_events","type":"User","site_admin":false},"repo":{"id":76459095,"name":"ale","full_name":"rob-b/ale","owner":{"login":"rob-b","id":84706,"avatar_url":"https://avatars2.githubusercontent.com/u/84706?v=4","gravatar_id":"","url":"https://api.github.com/users/rob-b","html_url":"https://github.com/rob-b","followers_url":"https://api.github.com/users/rob-b/followers","following_url":"https://api.github.com/users/rob-b/following{/other_user}","gists_url":"https://api.github.com/users/rob-b/gists{/gist_id}","starred_url":"https://api.github.com/users/rob-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rob-b/subscriptions","organizations_url":"https://api.github.com/users/rob-b/orgs","repos_url":"https://api.github.com/users/rob-b/repos","events_url":"https://api.github.com/users/rob-b/events{/privacy}","received_events_url":"https://api.github.com/users/rob-b/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rob-b/ale","description":"Asynchronous Lint Engine","fork":true,"url":"https://api.github.com/repos/rob-b/ale","forks_url":"https://api.github.com/repos/rob-b/ale/forks","keys_url":"https://api.github.com/repos/rob-b/ale/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rob-b/ale/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rob-b/ale/teams","hooks_url":"https://api.github.com/repos/rob-b/ale/hooks","issue_events_url":"https://api.github.com/repos/rob-b/ale/issues/events{/number}","events_url":"https://api.github.com/repos/rob-b/ale/events","assignees_url":"https://api.github.com/repos/rob-b/ale/assignees{/user}","branches_url":"https://api.github.com/repos/rob-b/ale/branches{/branch}","tags_url":"https://api.github.com/repos/rob-b/ale/tags","blobs_url":"https://api.github.com/repos/rob-b/ale/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rob-b/ale/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rob-b/ale/git/refs{/sha}","trees_url":"https://api.github.com/repos/rob-b/ale/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rob-b/ale/statuses/{sha}","languages_url":"https://api.github.com/repos/rob-b/ale/languages","stargazers_url":"https://api.github.com/repos/rob-b/ale/stargazers","contributors_url":"https://api.github.com/repos/rob-b/ale/contributors","subscribers_url":"https://api.github.com/repos/rob-b/ale/subscribers","subscription_url":"https://api.github.com/repos/rob-b/ale/subscription","commits_url":"https://api.github.com/repos/rob-b/ale/commits{/sha}","git_commits_url":"https://api.github.com/repos/rob-b/ale/git/commits{/sha}","comments_url":"https://api.github.com/repos/rob-b/ale/comments{/number}","issue_comment_url":"https://api.github.com/repos/rob-b/ale/issues/comments{/number}","contents_url":"https://api.github.com/repos/rob-b/ale/contents/{+path}","compare_url":"https://api.github.com/repos/rob-b/ale/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rob-b/ale/merges","archive_url":"https://api.github.com/repos/rob-b/ale/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rob-b/ale/downloads","issues_url":"https://api.github.com/repos/rob-b/ale/issues{/number}","pulls_url":"https://api.github.com/repos/rob-b/ale/pulls{/number}","milestones_url":"https://api.github.com/repos/rob-b/ale/milestones{/number}","notifications_url":"https://api.github.com/repos/rob-b/ale/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rob-b/ale/labels{/name}","releases_url":"https://api.github.com/repos/rob-b/ale/releases{/id}","deployments_url":"https://api.github.com/repos/rob-b/ale/deployments","created_at":"2016-12-14T12:48:13Z","updated_at":"2016-12-14T12:48:14Z","pushed_at":"2017-10-25T13:09:47Z","git_url":"git://github.com/rob-b/ale.git","ssh_url":"git@github.com:rob-b/ale.git","clone_url":"https://github.com/rob-b/ale.git","svn_url":"https://github.com/rob-b/ale","homepage":null,"size":10275,"stargazers_count":0,"watchers_count":0,"language":"VimL","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"w0rp:master","ref":"master","sha":"231398dddc59b01bc83f5a333af1ae741d31ed51","user":{"login":"w0rp","id":3518142,"avatar_url":"https://avatars2.githubusercontent.com/u/3518142?v=4","gravatar_id":"","url":"https://api.github.com/users/w0rp","html_url":"https://github.com/w0rp","followers_url":"https://api.github.com/users/w0rp/followers","following_url":"https://api.github.com/users/w0rp/following{/other_user}","gists_url":"https://api.github.com/users/w0rp/gists{/gist_id}","starred_url":"https://api.github.com/users/w0rp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w0rp/subscriptions","organizations_url":"https://api.github.com/users/w0rp/orgs","repos_url":"https://api.github.com/users/w0rp/repos","events_url":"https://api.github.com/users/w0rp/events{/privacy}","received_events_url":"https://api.github.com/users/w0rp/received_events","type":"User","site_admin":false},"repo":{"id":67747748,"name":"ale","full_name":"w0rp/ale","owner":{"login":"w0rp","id":3518142,"avatar_url":"https://avatars2.githubusercontent.com/u/3518142?v=4","gravatar_id":"","url":"https://api.github.com/users/w0rp","html_url":"https://github.com/w0rp","followers_url":"https://api.github.com/users/w0rp/followers","following_url":"https://api.github.com/users/w0rp/following{/other_user}","gists_url":"https://api.github.com/users/w0rp/gists{/gist_id}","starred_url":"https://api.github.com/users/w0rp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w0rp/subscriptions","organizations_url":"https://api.github.com/users/w0rp/orgs","repos_url":"https://api.github.com/users/w0rp/repos","events_url":"https://api.github.com/users/w0rp/events{/privacy}","received_events_url":"https://api.github.com/users/w0rp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/w0rp/ale","description":"Asynchronous Lint Engine","fork":false,"url":"https://api.github.com/repos/w0rp/ale","forks_url":"https://api.github.com/repos/w0rp/ale/forks","keys_url":"https://api.github.com/repos/w0rp/ale/keys{/key_id}","collaborators_url":"https://api.github.com/repos/w0rp/ale/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/w0rp/ale/teams","hooks_url":"https://api.github.com/repos/w0rp/ale/hooks","issue_events_url":"https://api.github.com/repos/w0rp/ale/issues/events{/number}","events_url":"https://api.github.com/repos/w0rp/ale/events","assignees_url":"https://api.github.com/repos/w0rp/ale/assignees{/user}","branches_url":"https://api.github.com/repos/w0rp/ale/branches{/branch}","tags_url":"https://api.github.com/repos/w0rp/ale/tags","blobs_url":"https://api.github.com/repos/w0rp/ale/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/w0rp/ale/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/w0rp/ale/git/refs{/sha}","trees_url":"https://api.github.com/repos/w0rp/ale/git/trees{/sha}","statuses_url":"https://api.github.com/repos/w0rp/ale/statuses/{sha}","languages_url":"https://api.github.com/repos/w0rp/ale/languages","stargazers_url":"https://api.github.com/repos/w0rp/ale/stargazers","contributors_url":"https://api.github.com/repos/w0rp/ale/contributors","subscribers_url":"https://api.github.com/repos/w0rp/ale/subscribers","subscription_url":"https://api.github.com/repos/w0rp/ale/subscription","commits_url":"https://api.github.com/repos/w0rp/ale/commits{/sha}","git_commits_url":"https://api.github.com/repos/w0rp/ale/git/commits{/sha}","comments_url":"https://api.github.com/repos/w0rp/ale/comments{/number}","issue_comment_url":"https://api.github.com/repos/w0rp/ale/issues/comments{/number}","contents_url":"https://api.github.com/repos/w0rp/ale/contents/{+path}","compare_url":"https://api.github.com/repos/w0rp/ale/compare/{base}...{head}","merges_url":"https://api.github.com/repos/w0rp/ale/merges","archive_url":"https://api.github.com/repos/w0rp/ale/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/w0rp/ale/downloads","issues_url":"https://api.github.com/repos/w0rp/ale/issues{/number}","pulls_url":"https://api.github.com/repos/w0rp/ale/pulls{/number}","milestones_url":"https://api.github.com/repos/w0rp/ale/milestones{/number}","notifications_url":"https://api.github.com/repos/w0rp/ale/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/w0rp/ale/labels{/name}","releases_url":"https://api.github.com/repos/w0rp/ale/releases{/id}","deployments_url":"https://api.github.com/repos/w0rp/ale/deployments","created_at":"2016-09-08T23:22:45Z","updated_at":"2017-10-25T12:58:26Z","pushed_at":"2017-10-25T13:09:48Z","git_url":"git://github.com/w0rp/ale.git","ssh_url":"git@github.com:w0rp/ale.git","clone_url":"https://github.com/w0rp/ale.git","svn_url":"https://github.com/w0rp/ale","homepage":null,"size":10436,"stargazers_count":3096,"watchers_count":3096,"language":"Vim script","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":326,"mirror_url":null,"archived":false,"open_issues_count":103,"forks":326,"open_issues":103,"watchers":3096,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/w0rp/ale/pulls/1036"},"html":{"href":"https://github.com/w0rp/ale/pull/1036"},"issue":{"href":"https://api.github.com/repos/w0rp/ale/issues/1036"},"comments":{"href":"https://api.github.com/repos/w0rp/ale/issues/1036/comments"},"review_comments":{"href":"https://api.github.com/repos/w0rp/ale/pulls/1036/comments"},"review_comment":{"href":"https://api.github.com/repos/w0rp/ale/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/w0rp/ale/pulls/1036/commits"},"statuses":{"href":"https://api.github.com/repos/w0rp/ale/statuses/ec758f8cacaf88a6207e41283ab651128527856c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"rob-b"}}