{"action":"closed","issue":{"url":"https://api.github.com/repos/golang/go/issues/9521","labels_url":"https://api.github.com/repos/golang/go/issues/9521/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/9521/comments","events_url":"https://api.github.com/repos/golang/go/issues/9521/events","html_url":"https://github.com/golang/go/issues/9521","id":53559982,"number":9521,"title":"cmd/gc: better error message related to blank result parameters","user":{"login":"griesemer","id":8528975,"avatar_url":"https://avatars.githubusercontent.com/u/8528975?v=3","gravatar_id":"","url":"https://api.github.com/users/griesemer","html_url":"https://github.com/griesemer","followers_url":"https://api.github.com/users/griesemer/followers","following_url":"https://api.github.com/users/griesemer/following{/other_user}","gists_url":"https://api.github.com/users/griesemer/gists{/gist_id}","starred_url":"https://api.github.com/users/griesemer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griesemer/subscriptions","organizations_url":"https://api.github.com/users/griesemer/orgs","repos_url":"https://api.github.com/users/griesemer/repos","events_url":"https://api.github.com/users/griesemer/events{/privacy}","received_events_url":"https://api.github.com/users/griesemer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/1","html_url":"https://github.com/golang/go/milestones/Go1.5","labels_url":"https://api.github.com/repos/golang/go/milestones/1/labels","id":905105,"number":1,"title":"Go1.5","description":"","creator":{"login":"bradfitz","id":2621,"avatar_url":"https://avatars.githubusercontent.com/u/2621?v=3","gravatar_id":"","url":"https://api.github.com/users/bradfitz","html_url":"https://github.com/bradfitz","followers_url":"https://api.github.com/users/bradfitz/followers","following_url":"https://api.github.com/users/bradfitz/following{/other_user}","gists_url":"https://api.github.com/users/bradfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/bradfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradfitz/subscriptions","organizations_url":"https://api.github.com/users/bradfitz/orgs","repos_url":"https://api.github.com/users/bradfitz/repos","events_url":"https://api.github.com/users/bradfitz/events{/privacy}","received_events_url":"https://api.github.com/users/bradfitz/received_events","type":"User","site_admin":false},"open_issues":306,"closed_issues":430,"state":"open","created_at":"2014-12-16T02:26:41Z","updated_at":"2015-05-11T19:36:07Z","due_on":"2015-07-31T04:00:00Z","closed_at":null},"comments":1,"created_at":"2015-01-06T20:36:37Z","updated_at":"2015-05-11T19:36:07Z","closed_at":"2015-05-11T19:36:07Z","body":"http://play.golang.org/p/GP-LUTc5qO\r\n\r\nThe error message could be better:\r\n\r\nprog.go:6: cannot use ~b1 (type []int) as type int in assignment\r\n [process exited with non-zero status]\r\n\r\n~b1 appears to mean the blank identifier with index 1, but it must be confusing for somebody more novice. For reference, gccgo reports in this case:\r\n\r\nz.go:6:17: error: argument 2 has incompatible type\r\n      _ = append(f())\r\n\r\nShould be trivial to improve."}}