{"action":"closed","issue":{"url":"https://api.github.com/repos/golang/go/issues/11737","labels_url":"https://api.github.com/repos/golang/go/issues/11737/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/11737/comments","events_url":"https://api.github.com/repos/golang/go/issues/11737/events","html_url":"https://github.com/golang/go/issues/11737","id":95509334,"number":11737,"title":"cmd/compile: autotmp_NNNN variable name in compiler error output","user":{"login":"willfaught","id":63830,"avatar_url":"https://avatars.githubusercontent.com/u/63830?v=3","gravatar_id":"","url":"https://api.github.com/users/willfaught","html_url":"https://github.com/willfaught","followers_url":"https://api.github.com/users/willfaught/followers","following_url":"https://api.github.com/users/willfaught/following{/other_user}","gists_url":"https://api.github.com/users/willfaught/gists{/gist_id}","starred_url":"https://api.github.com/users/willfaught/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willfaught/subscriptions","organizations_url":"https://api.github.com/users/willfaught/orgs","repos_url":"https://api.github.com/users/willfaught/repos","events_url":"https://api.github.com/users/willfaught/events{/privacy}","received_events_url":"https://api.github.com/users/willfaught/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/24","html_url":"https://github.com/golang/go/milestones/Go1.6","labels_url":"https://api.github.com/repos/golang/go/milestones/24/labels","id":1096159,"number":24,"title":"Go1.6","description":"","creator":{"login":"josharian","id":67496,"avatar_url":"https://avatars.githubusercontent.com/u/67496?v=3","gravatar_id":"","url":"https://api.github.com/users/josharian","html_url":"https://github.com/josharian","followers_url":"https://api.github.com/users/josharian/followers","following_url":"https://api.github.com/users/josharian/following{/other_user}","gists_url":"https://api.github.com/users/josharian/gists{/gist_id}","starred_url":"https://api.github.com/users/josharian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josharian/subscriptions","organizations_url":"https://api.github.com/users/josharian/orgs","repos_url":"https://api.github.com/users/josharian/repos","events_url":"https://api.github.com/users/josharian/events{/privacy}","received_events_url":"https://api.github.com/users/josharian/received_events","type":"User","site_admin":false},"open_issues":115,"closed_issues":472,"state":"open","created_at":"2015-05-05T02:39:06Z","updated_at":"2015-12-16T20:58:28Z","due_on":"2016-01-31T08:00:00Z","closed_at":null},"comments":3,"created_at":"2015-07-16T19:35:09Z","updated_at":"2015-12-16T20:58:28Z","closed_at":"2015-12-16T20:58:28Z","body":"Write code like this:\r\n\r\n    func F(middleware interface{}) {\r\n        switch middleware {\r\n        case tigertonic.JSONLogged:\r\n            [...]\r\n\r\nand get a compiler error like this:\r\n\r\n    $ go build\r\n    # [...]/server\r\n    ./middleware.go:69: invalid operation: autotmp_0210 == \"github.com/rcrowley/go-tigertonic\".JSONLogged (operator == not defined on func)\r\n    ./middleware.go:73: invalid operation: autotmp_0210 == \"github.com/rcrowley/go-tigertonic\".Logged (operator == not defined on func)\r\n\r\nI'm guessing auto-generated variable names aren't meant to be exposed outside the compiler?"}}