{"action":"created","issue":{"url":"https://api.github.com/repos/ponylang/ponyc/issues/973","repository_url":"https://api.github.com/repos/ponylang/ponyc","labels_url":"https://api.github.com/repos/ponylang/ponyc/issues/973/labels{/name}","comments_url":"https://api.github.com/repos/ponylang/ponyc/issues/973/comments","events_url":"https://api.github.com/repos/ponylang/ponyc/issues/973/events","html_url":"https://github.com/ponylang/ponyc/issues/973","id":162176336,"number":973,"title":"segfault with field named _final","user":{"login":"Theodus","id":9407624,"avatar_url":"https://avatars.githubusercontent.com/u/9407624?v=3","gravatar_id":"","url":"https://api.github.com/users/Theodus","html_url":"https://github.com/Theodus","followers_url":"https://api.github.com/users/Theodus/followers","following_url":"https://api.github.com/users/Theodus/following{/other_user}","gists_url":"https://api.github.com/users/Theodus/gists{/gist_id}","starred_url":"https://api.github.com/users/Theodus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Theodus/subscriptions","organizations_url":"https://api.github.com/users/Theodus/orgs","repos_url":"https://api.github.com/users/Theodus/repos","events_url":"https://api.github.com/users/Theodus/events{/privacy}","received_events_url":"https://api.github.com/users/Theodus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ponylang/ponyc/labels/bug:%201%20-%20needs%20investigation","name":"bug: 1 - needs investigation","color":"f7c6c7"},{"url":"https://api.github.com/repos/ponylang/ponyc/labels/priority:%202%20-%20medium","name":"priority: 2 - medium","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"Praetonus","id":5193706,"avatar_url":"https://avatars.githubusercontent.com/u/5193706?v=3","gravatar_id":"","url":"https://api.github.com/users/Praetonus","html_url":"https://github.com/Praetonus","followers_url":"https://api.github.com/users/Praetonus/followers","following_url":"https://api.github.com/users/Praetonus/following{/other_user}","gists_url":"https://api.github.com/users/Praetonus/gists{/gist_id}","starred_url":"https://api.github.com/users/Praetonus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Praetonus/subscriptions","organizations_url":"https://api.github.com/users/Praetonus/orgs","repos_url":"https://api.github.com/users/Praetonus/repos","events_url":"https://api.github.com/users/Praetonus/events{/privacy}","received_events_url":"https://api.github.com/users/Praetonus/received_events","type":"User","site_admin":false},"assignees":[{"login":"Praetonus","id":5193706,"avatar_url":"https://avatars.githubusercontent.com/u/5193706?v=3","gravatar_id":"","url":"https://api.github.com/users/Praetonus","html_url":"https://github.com/Praetonus","followers_url":"https://api.github.com/users/Praetonus/followers","following_url":"https://api.github.com/users/Praetonus/following{/other_user}","gists_url":"https://api.github.com/users/Praetonus/gists{/gist_id}","starred_url":"https://api.github.com/users/Praetonus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Praetonus/subscriptions","organizations_url":"https://api.github.com/users/Praetonus/orgs","repos_url":"https://api.github.com/users/Praetonus/repos","events_url":"https://api.github.com/users/Praetonus/events{/privacy}","received_events_url":"https://api.github.com/users/Praetonus/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-06-24T15:51:22Z","updated_at":"2016-06-28T11:45:56Z","closed_at":null,"body":"The following program causes a segfault during the \"final\" pass of the compiler because of the field name.\r\n```pony\r\nactor Main\r\n  let _final: USize = 0\r\n\r\n  new create(env: Env) =>\r\n    env.out.print(_final.string())\r\n```\r\nWhen the field is changed to _f the program compiles as expected.\r\n"},"comment":{"url":"https://api.github.com/repos/ponylang/ponyc/issues/comments/229026011","html_url":"https://github.com/ponylang/ponyc/issues/973#issuecomment-229026011","issue_url":"https://api.github.com/repos/ponylang/ponyc/issues/973","id":229026011,"user":{"login":"SeanTAllen","id":193596,"avatar_url":"https://avatars.githubusercontent.com/u/193596?v=3","gravatar_id":"","url":"https://api.github.com/users/SeanTAllen","html_url":"https://github.com/SeanTAllen","followers_url":"https://api.github.com/users/SeanTAllen/followers","following_url":"https://api.github.com/users/SeanTAllen/following{/other_user}","gists_url":"https://api.github.com/users/SeanTAllen/gists{/gist_id}","starred_url":"https://api.github.com/users/SeanTAllen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeanTAllen/subscriptions","organizations_url":"https://api.github.com/users/SeanTAllen/orgs","repos_url":"https://api.github.com/users/SeanTAllen/repos","events_url":"https://api.github.com/users/SeanTAllen/events{/privacy}","received_events_url":"https://api.github.com/users/SeanTAllen/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T11:45:56Z","updated_at":"2016-06-28T11:45:56Z","body":"If that is the case, it makes sense to disallow _final as a field name as well."}}
{"actor":{"display_login":"SeanTAllen"}}