{"action":"created","issue":{"url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/1265","repository_url":"https://api.github.com/repos/elm-lang/elm-compiler","labels_url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/1265/labels{/name}","comments_url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/1265/comments","events_url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/1265/events","html_url":"https://github.com/elm-lang/elm-compiler/pull/1265","id":127634590,"number":1265,"title":"Fix unsafe list patterns in error reporting.","user":{"login":"srijs","id":2677165,"avatar_url":"https://avatars.githubusercontent.com/u/2677165?v=3","gravatar_id":"","url":"https://api.github.com/users/srijs","html_url":"https://github.com/srijs","followers_url":"https://api.github.com/users/srijs/followers","following_url":"https://api.github.com/users/srijs/following{/other_user}","gists_url":"https://api.github.com/users/srijs/gists{/gist_id}","starred_url":"https://api.github.com/users/srijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srijs/subscriptions","organizations_url":"https://api.github.com/users/srijs/orgs","repos_url":"https://api.github.com/users/srijs/repos","events_url":"https://api.github.com/users/srijs/events{/privacy}","received_events_url":"https://api.github.com/users/srijs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-20T09:04:16Z","updated_at":"2016-04-28T09:44:22Z","closed_at":"2016-04-28T04:07:08Z","pull_request":{"url":"https://api.github.com/repos/elm-lang/elm-compiler/pulls/1265","html_url":"https://github.com/elm-lang/elm-compiler/pull/1265","diff_url":"https://github.com/elm-lang/elm-compiler/pull/1265.diff","patch_url":"https://github.com/elm-lang/elm-compiler/pull/1265.patch"},"body":"Hi.\r\n\r\nThis fixes up some unsafe pattern matching by using non empty lists where appropriate.\r\n\r\nPlease let me know if this is welcome.\r\n\r\nCheers!"},"comment":{"url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/comments/215369554","html_url":"https://github.com/elm-lang/elm-compiler/pull/1265#issuecomment-215369554","issue_url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/1265","id":215369554,"user":{"login":"srijs","id":2677165,"avatar_url":"https://avatars.githubusercontent.com/u/2677165?v=3","gravatar_id":"","url":"https://api.github.com/users/srijs","html_url":"https://github.com/srijs","followers_url":"https://api.github.com/users/srijs/followers","following_url":"https://api.github.com/users/srijs/following{/other_user}","gists_url":"https://api.github.com/users/srijs/gists{/gist_id}","starred_url":"https://api.github.com/users/srijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srijs/subscriptions","organizations_url":"https://api.github.com/users/srijs/orgs","repos_url":"https://api.github.com/users/srijs/repos","events_url":"https://api.github.com/users/srijs/events{/privacy}","received_events_url":"https://api.github.com/users/srijs/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T09:44:22Z","updated_at":"2016-04-28T09:44:22Z","body":"We could have done the same thing with tuples of (a, [a]), but sure, I'll leave that up to you ;)"}}