{"action":"closed","issue":{"url":"https://api.github.com/repos/golang/go/issues/16139","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/16139/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/16139/comments","events_url":"https://api.github.com/repos/golang/go/issues/16139/events","html_url":"https://github.com/golang/go/issues/16139","id":161525362,"number":16139,"title":"cmd/compile: possible typo in ssa.go","user":{"login":"gyuho","id":6799218,"avatar_url":"https://avatars.githubusercontent.com/u/6799218?v=3","gravatar_id":"","url":"https://api.github.com/users/gyuho","html_url":"https://github.com/gyuho","followers_url":"https://api.github.com/users/gyuho/followers","following_url":"https://api.github.com/users/gyuho/following{/other_user}","gists_url":"https://api.github.com/users/gyuho/gists{/gist_id}","starred_url":"https://api.github.com/users/gyuho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gyuho/subscriptions","organizations_url":"https://api.github.com/users/gyuho/orgs","repos_url":"https://api.github.com/users/gyuho/repos","events_url":"https://api.github.com/users/gyuho/events{/privacy}","received_events_url":"https://api.github.com/users/gyuho/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-21T19:57:40Z","updated_at":"2016-06-21T20:04:18Z","closed_at":"2016-06-21T20:04:18Z","body":"https://github.com/golang/go/blob/master/src/cmd/compile/internal/gc/ssa.go#L3699\r\n\r\n```go\r\n// checkgoto checks that a goto from from to to does not\r\n// jump into a block or jump over variable declarations.\r\n// It is a copy of checkgoto in the pre-SSA backend,\r\n// modified only for line number handling.\r\n// TODO: document how this works and why it is designed the way it is.\r\nfunc (s *state) checkgoto(from *Node, to *Node) {\r\n\tif from.Sym == to.Sym {\r\n\t\treturn\r\n\t}\r\n...\r\n```\r\n\r\nI just came across this cryptic comment `from from to to`.\r\nIs this typo? If not, can anybody help me understand this comment?\r\n\r\nIf it's not a typo, please feel free to close this :)\r\n\r\nThanks a lot!\r\n"}}
{"actor":{"display_login":"gyuho"}}