{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/16144","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/16144/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/16144/comments","events_url":"https://api.github.com/repos/golang/go/issues/16144/events","html_url":"https://github.com/golang/go/issues/16144","id":161595542,"number":16144,"title":"cmd/yacc: panic: runtime error: index out of range","user":{"login":"snadrus","id":1920558,"avatar_url":"https://avatars.githubusercontent.com/u/1920558?v=3","gravatar_id":"","url":"https://api.github.com/users/snadrus","html_url":"https://github.com/snadrus","followers_url":"https://api.github.com/users/snadrus/followers","following_url":"https://api.github.com/users/snadrus/following{/other_user}","gists_url":"https://api.github.com/users/snadrus/gists{/gist_id}","starred_url":"https://api.github.com/users/snadrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snadrus/subscriptions","organizations_url":"https://api.github.com/users/snadrus/orgs","repos_url":"https://api.github.com/users/snadrus/repos","events_url":"https://api.github.com/users/snadrus/events{/privacy}","received_events_url":"https://api.github.com/users/snadrus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-22T05:14:29Z","updated_at":"2016-06-22T13:22:57Z","closed_at":null,"body":"1.5 & 1.7rc2  on amd64 mac\r\n\r\n3. What did you do?\r\n\r\ngo get github.com/snadrus/sqlin\r\ncd $GOPATH/github.com/snadrus/sqlin/src/parse\r\ngo tool yacc -o parser.go -p parse parser.y\r\n\r\n4. What did you expect to see?\r\nsql2003 spec becoming parser.go, or an actionable error.\r\n\r\n5. What did you see instead?\r\nIn Go 1.7rc2:\r\npanic: runtime error: index out of range\r\n\r\ngoroutine 1 [running]:\r\npanic(0x1124a0, 0xc42000e150)\r\n\t/usr/local/go/src/runtime/panic.go:500 +0x1a1\r\nmain.aryfil(0xc4200a6000, 0x7d0, 0x7d0, 0x883, 0x0)\r\n\t/usr/local/go/src/cmd/yacc/yacc.go:1522 +0x41\r\nmain.stagen()\r\n\t/usr/local/go/src/cmd/yacc/yacc.go:1781 +0x3f3\r\nmain.main()\r\n\t/usr/local/go/src/cmd/yacc/yacc.go:359 +0x5d\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/227741536","html_url":"https://github.com/golang/go/issues/16144#issuecomment-227741536","issue_url":"https://api.github.com/repos/golang/go/issues/16144","id":227741536,"user":{"login":"ianlancetaylor","id":3194333,"avatar_url":"https://avatars.githubusercontent.com/u/3194333?v=3","gravatar_id":"","url":"https://api.github.com/users/ianlancetaylor","html_url":"https://github.com/ianlancetaylor","followers_url":"https://api.github.com/users/ianlancetaylor/followers","following_url":"https://api.github.com/users/ianlancetaylor/following{/other_user}","gists_url":"https://api.github.com/users/ianlancetaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/ianlancetaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianlancetaylor/subscriptions","organizations_url":"https://api.github.com/users/ianlancetaylor/orgs","repos_url":"https://api.github.com/users/ianlancetaylor/repos","events_url":"https://api.github.com/users/ianlancetaylor/events{/privacy}","received_events_url":"https://api.github.com/users/ianlancetaylor/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T13:22:57Z","updated_at":"2016-06-22T13:22:57Z","body":"There are hard-coded limits in yacc that remain from when it was a C program.  This should be fixed, but not for 1.7 (and see also #11229).  For 1.7 I'll send a CL for an error rather than a panic."}}
{"actor":{"display_login":"ianlancetaylor"}}