{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/27856","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/27856/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/27856/comments","events_url":"https://api.github.com/repos/golang/go/issues/27856/events","html_url":"https://github.com/golang/go/issues/27856","id":363650105,"node_id":"MDU6SXNzdWUzNjM2NTAxMDU=","number":27856,"title":"gccgo: nil type when decoding a type alias","user":{"login":"alandonovan","id":8433140,"node_id":"MDQ6VXNlcjg0MzMxNDA=","avatar_url":"https://avatars0.githubusercontent.com/u/8433140?v=4","gravatar_id":"","url":"https://api.github.com/users/alandonovan","html_url":"https://github.com/alandonovan","followers_url":"https://api.github.com/users/alandonovan/followers","following_url":"https://api.github.com/users/alandonovan/following{/other_user}","gists_url":"https://api.github.com/users/alandonovan/gists{/gist_id}","starred_url":"https://api.github.com/users/alandonovan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alandonovan/subscriptions","organizations_url":"https://api.github.com/users/alandonovan/orgs","repos_url":"https://api.github.com/users/alandonovan/repos","events_url":"https://api.github.com/users/alandonovan/events{/privacy}","received_events_url":"https://api.github.com/users/alandonovan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"griesemer","id":8528975,"node_id":"MDQ6VXNlcjg1Mjg5NzU=","avatar_url":"https://avatars2.githubusercontent.com/u/8528975?v=4","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},"assignees":[{"login":"griesemer","id":8528975,"node_id":"MDQ6VXNlcjg1Mjg5NzU=","avatar_url":"https://avatars2.githubusercontent.com/u/8528975?v=4","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}],"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/23","html_url":"https://github.com/golang/go/milestone/23","labels_url":"https://api.github.com/repos/golang/go/milestones/23/labels","id":1069171,"node_id":"MDk6TWlsZXN0b25lMTA2OTE3MQ==","number":23,"title":"Gccgo","description":"Issues to be fixed in the gccgo distribution (as opposed to the main Go repos).\r\n","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":37,"closed_issues":182,"state":"open","created_at":"2015-04-15T17:34:15Z","updated_at":"2018-09-25T15:54:43Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-09-25T15:54:40Z","updated_at":"2018-09-25T15:55:24Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The export data produced by gccgo for this Go package, when decoded by the gccgoexportdata package in x/tools, contains a nil type for the type alias, E.  I'm not sure if the problem is on the encoding or decoding side, but it is breaking the blaze build for gccgo.\r\n\r\n```\r\n// test/lib.go\r\npackage lib\r\n\r\ntype M struct {\r\n        E E\r\n}\r\ntype F struct {\r\n        _ *M\r\n}\r\ntype E = F\r\n```\r\n\r\nI have attached a standalone Go program containing the export data file produced by Blaze (as a string literal) to exercise the decode side:\r\n[gccgoimport.txt](https://github.com/golang/go/files/2415936/gccgoimport.txt)\r\n\r\nI'm not sure how to isolate the encode side, outside of Blaze."},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/424400353","html_url":"https://github.com/golang/go/issues/27856#issuecomment-424400353","issue_url":"https://api.github.com/repos/golang/go/issues/27856","id":424400353,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDQwMDM1Mw==","user":{"login":"alandonovan","id":8433140,"node_id":"MDQ6VXNlcjg0MzMxNDA=","avatar_url":"https://avatars0.githubusercontent.com/u/8433140?v=4","gravatar_id":"","url":"https://api.github.com/users/alandonovan","html_url":"https://github.com/alandonovan","followers_url":"https://api.github.com/users/alandonovan/followers","following_url":"https://api.github.com/users/alandonovan/following{/other_user}","gists_url":"https://api.github.com/users/alandonovan/gists{/gist_id}","starred_url":"https://api.github.com/users/alandonovan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alandonovan/subscriptions","organizations_url":"https://api.github.com/users/alandonovan/orgs","repos_url":"https://api.github.com/users/alandonovan/repos","events_url":"https://api.github.com/users/alandonovan/events{/privacy}","received_events_url":"https://api.github.com/users/alandonovan/received_events","type":"User","site_admin":false},"created_at":"2018-09-25T15:55:24Z","updated_at":"2018-09-25T15:55:24Z","author_association":"CONTRIBUTOR","body":"cc @ianlancetaylor, @paranoiacblack "}}
{"actor":{"display_login":"alandonovan"}}