{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/29271","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/29271/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/29271/comments","events_url":"https://api.github.com/repos/golang/go/issues/29271/events","html_url":"https://github.com/golang/go/issues/29271","id":391263367,"node_id":"MDU6SXNzdWUzOTEyNjMzNjc=","number":29271,"title":"go/doc: panic in go/doc.lastComment when parsing an Example_foo with no body","user":{"login":"bcmills","id":5200974,"node_id":"MDQ6VXNlcjUyMDA5NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5200974?v=4","gravatar_id":"","url":"https://api.github.com/users/bcmills","html_url":"https://github.com/bcmills","followers_url":"https://api.github.com/users/bcmills/followers","following_url":"https://api.github.com/users/bcmills/following{/other_user}","gists_url":"https://api.github.com/users/bcmills/gists{/gist_id}","starred_url":"https://api.github.com/users/bcmills/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcmills/subscriptions","organizations_url":"https://api.github.com/users/bcmills/orgs","repos_url":"https://api.github.com/users/bcmills/repos","events_url":"https://api.github.com/users/bcmills/events{/privacy}","received_events_url":"https://api.github.com/users/bcmills/received_events","type":"User","site_admin":false},"labels":[{"id":373402289,"node_id":"MDU6TGFiZWwzNzM0MDIyODk=","url":"https://api.github.com/repos/golang/go/labels/NeedsInvestigation","name":"NeedsInvestigation","color":"ededed","default":false},{"id":150880243,"node_id":"MDU6TGFiZWwxNTA4ODAyNDM=","url":"https://api.github.com/repos/golang/go/labels/help%20wanted","name":"help wanted","color":"fbca04","default":true}],"state":"open","locked":false,"assignee":{"login":"agnivade","id":1774000,"node_id":"MDQ6VXNlcjE3NzQwMDA=","avatar_url":"https://avatars1.githubusercontent.com/u/1774000?v=4","gravatar_id":"","url":"https://api.github.com/users/agnivade","html_url":"https://github.com/agnivade","followers_url":"https://api.github.com/users/agnivade/followers","following_url":"https://api.github.com/users/agnivade/following{/other_user}","gists_url":"https://api.github.com/users/agnivade/gists{/gist_id}","starred_url":"https://api.github.com/users/agnivade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agnivade/subscriptions","organizations_url":"https://api.github.com/users/agnivade/orgs","repos_url":"https://api.github.com/users/agnivade/repos","events_url":"https://api.github.com/users/agnivade/events{/privacy}","received_events_url":"https://api.github.com/users/agnivade/received_events","type":"User","site_admin":false},"assignees":[{"login":"agnivade","id":1774000,"node_id":"MDQ6VXNlcjE3NzQwMDA=","avatar_url":"https://avatars1.githubusercontent.com/u/1774000?v=4","gravatar_id":"","url":"https://api.github.com/users/agnivade","html_url":"https://github.com/agnivade","followers_url":"https://api.github.com/users/agnivade/followers","following_url":"https://api.github.com/users/agnivade/following{/other_user}","gists_url":"https://api.github.com/users/agnivade/gists{/gist_id}","starred_url":"https://api.github.com/users/agnivade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agnivade/subscriptions","organizations_url":"https://api.github.com/users/agnivade/orgs","repos_url":"https://api.github.com/users/agnivade/repos","events_url":"https://api.github.com/users/agnivade/events{/privacy}","received_events_url":"https://api.github.com/users/agnivade/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/83","html_url":"https://github.com/golang/go/milestone/83","labels_url":"https://api.github.com/repos/golang/go/milestones/83/labels","id":3730798,"node_id":"MDk6TWlsZXN0b25lMzczMDc5OA==","number":83,"title":"Go1.13","description":null,"creator":{"login":"rsc","id":104030,"node_id":"MDQ6VXNlcjEwNDAzMA==","avatar_url":"https://avatars1.githubusercontent.com/u/104030?v=4","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"open_issues":337,"closed_issues":29,"state":"open","created_at":"2018-10-11T15:30:19Z","updated_at":"2018-12-15T15:39:01Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-12-14T20:10:35Z","updated_at":"2018-12-16T14:10:04Z","closed_at":null,"author_association":"MEMBER","body":"@alandonovan found this panic in #28044: https://play.golang.org/p/Gs4iMjqFmgu\r\n\r\nWith this input program:\r\n```go\r\npackage p\r\nfunc Example() {}\r\nfunc Example_a()\r\n```\r\n\r\n`doc.Examples` panics with this stack trace:\r\n```\r\ngo/ast.(*BlockStmt).Pos(...)\r\n\t/usr/local/go/src/go/ast/ast.go:728\r\ngo/doc.lastComment(0x0, 0x0, 0x0, 0x0, 0x15d060, 0x92a)\r\n\t/usr/local/go/src/go/doc/example.go:409 +0x6\r\ngo/doc.exampleOutput(0x0, 0x0, 0x0, 0x0, 0x1, 0x0, 0x40e238, 0x0)\r\n\t/usr/local/go/src/go/doc/example.go:108 +0x40\r\ngo/doc.Examples(0x42bf90, 0x1, 0x1, 0x197480, 0x1e9cb8, 0x0, 0x437580, 0x0)\r\n\t/usr/local/go/src/go/doc/example.go:75 +0x320\r\n```\r\n\r\nCC @griesemer "},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/447646338","html_url":"https://github.com/golang/go/issues/29271#issuecomment-447646338","issue_url":"https://api.github.com/repos/golang/go/issues/29271","id":447646338,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzY0NjMzOA==","user":{"login":"rcodeb","id":45898016,"node_id":"MDQ6VXNlcjQ1ODk4MDE2","avatar_url":"https://avatars2.githubusercontent.com/u/45898016?v=4","gravatar_id":"","url":"https://api.github.com/users/rcodeb","html_url":"https://github.com/rcodeb","followers_url":"https://api.github.com/users/rcodeb/followers","following_url":"https://api.github.com/users/rcodeb/following{/other_user}","gists_url":"https://api.github.com/users/rcodeb/gists{/gist_id}","starred_url":"https://api.github.com/users/rcodeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcodeb/subscriptions","organizations_url":"https://api.github.com/users/rcodeb/orgs","repos_url":"https://api.github.com/users/rcodeb/repos","events_url":"https://api.github.com/users/rcodeb/events{/privacy}","received_events_url":"https://api.github.com/users/rcodeb/received_events","type":"User","site_admin":false},"created_at":"2018-12-16T14:10:04Z","updated_at":"2018-12-16T14:10:04Z","author_association":"NONE","body":"@agnivade may be return from the function where I pointed in my comment as returning nil will be ok for pointer to file return type."}}
{"actor":{"display_login":"rcodeb"}}