{"action":"created","issue":{"url":"https://api.github.com/repos/chapel-lang/chapel/issues/10598","repository_url":"https://api.github.com/repos/chapel-lang/chapel","labels_url":"https://api.github.com/repos/chapel-lang/chapel/issues/10598/labels{/name}","comments_url":"https://api.github.com/repos/chapel-lang/chapel/issues/10598/comments","events_url":"https://api.github.com/repos/chapel-lang/chapel/issues/10598/events","html_url":"https://github.com/chapel-lang/chapel/issues/10598","id":346225672,"node_id":"MDU6SXNzdWUzNDYyMjU2NzI=","number":10598,"title":"Investigate unmanaged in release/examples","user":{"login":"mppf","id":3653132,"node_id":"MDQ6VXNlcjM2NTMxMzI=","avatar_url":"https://avatars3.githubusercontent.com/u/3653132?v=4","gravatar_id":"","url":"https://api.github.com/users/mppf","html_url":"https://github.com/mppf","followers_url":"https://api.github.com/users/mppf/followers","following_url":"https://api.github.com/users/mppf/following{/other_user}","gists_url":"https://api.github.com/users/mppf/gists{/gist_id}","starred_url":"https://api.github.com/users/mppf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mppf/subscriptions","organizations_url":"https://api.github.com/users/mppf/orgs","repos_url":"https://api.github.com/users/mppf/repos","events_url":"https://api.github.com/users/mppf/events{/privacy}","received_events_url":"https://api.github.com/users/mppf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mppf","id":3653132,"node_id":"MDQ6VXNlcjM2NTMxMzI=","avatar_url":"https://avatars3.githubusercontent.com/u/3653132?v=4","gravatar_id":"","url":"https://api.github.com/users/mppf","html_url":"https://github.com/mppf","followers_url":"https://api.github.com/users/mppf/followers","following_url":"https://api.github.com/users/mppf/following{/other_user}","gists_url":"https://api.github.com/users/mppf/gists{/gist_id}","starred_url":"https://api.github.com/users/mppf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mppf/subscriptions","organizations_url":"https://api.github.com/users/mppf/orgs","repos_url":"https://api.github.com/users/mppf/repos","events_url":"https://api.github.com/users/mppf/events{/privacy}","received_events_url":"https://api.github.com/users/mppf/received_events","type":"User","site_admin":false},"assignees":[{"login":"mppf","id":3653132,"node_id":"MDQ6VXNlcjM2NTMxMzI=","avatar_url":"https://avatars3.githubusercontent.com/u/3653132?v=4","gravatar_id":"","url":"https://api.github.com/users/mppf","html_url":"https://github.com/mppf","followers_url":"https://api.github.com/users/mppf/followers","following_url":"https://api.github.com/users/mppf/following{/other_user}","gists_url":"https://api.github.com/users/mppf/gists{/gist_id}","starred_url":"https://api.github.com/users/mppf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mppf/subscriptions","organizations_url":"https://api.github.com/users/mppf/orgs","repos_url":"https://api.github.com/users/mppf/repos","events_url":"https://api.github.com/users/mppf/events{/privacy}","received_events_url":"https://api.github.com/users/mppf/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/chapel-lang/chapel/milestones/34","html_url":"https://github.com/chapel-lang/chapel/milestone/34","labels_url":"https://api.github.com/repos/chapel-lang/chapel/milestones/34/labels","id":3621799,"node_id":"MDk6TWlsZXN0b25lMzYyMTc5OQ==","number":34,"title":"PB Sprint 14","description":"","creator":{"login":"bradcray","id":7536222,"node_id":"MDQ6VXNlcjc1MzYyMjI=","avatar_url":"https://avatars0.githubusercontent.com/u/7536222?v=4","gravatar_id":"","url":"https://api.github.com/users/bradcray","html_url":"https://github.com/bradcray","followers_url":"https://api.github.com/users/bradcray/followers","following_url":"https://api.github.com/users/bradcray/following{/other_user}","gists_url":"https://api.github.com/users/bradcray/gists{/gist_id}","starred_url":"https://api.github.com/users/bradcray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradcray/subscriptions","organizations_url":"https://api.github.com/users/bradcray/orgs","repos_url":"https://api.github.com/users/bradcray/repos","events_url":"https://api.github.com/users/bradcray/events{/privacy}","received_events_url":"https://api.github.com/users/bradcray/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":0,"state":"open","created_at":"2018-09-04T18:03:56Z","updated_at":"2018-09-04T18:37:55Z","due_on":"2018-09-18T07:00:00Z","closed_at":null},"comments":2,"created_at":"2018-07-31T14:56:03Z","updated_at":"2018-09-04T19:11:33Z","closed_at":null,"author_association":"MEMBER","body":"Generally speaking we shouldn't be using `unmanaged` or `new borrowed` in release/examples. This issue is documenting the task of `grep`ing for these and trying to resolve them where possible.\r\n\r\nAlso check for `_to_unmanaged` or `_to_borrowed` since these can generally be replaced with the generic cast."},"comment":{"url":"https://api.github.com/repos/chapel-lang/chapel/issues/comments/418484248","html_url":"https://github.com/chapel-lang/chapel/issues/10598#issuecomment-418484248","issue_url":"https://api.github.com/repos/chapel-lang/chapel/issues/10598","id":418484248,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODQ4NDI0OA==","user":{"login":"mppf","id":3653132,"node_id":"MDQ6VXNlcjM2NTMxMzI=","avatar_url":"https://avatars3.githubusercontent.com/u/3653132?v=4","gravatar_id":"","url":"https://api.github.com/users/mppf","html_url":"https://github.com/mppf","followers_url":"https://api.github.com/users/mppf/followers","following_url":"https://api.github.com/users/mppf/following{/other_user}","gists_url":"https://api.github.com/users/mppf/gists{/gist_id}","starred_url":"https://api.github.com/users/mppf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mppf/subscriptions","organizations_url":"https://api.github.com/users/mppf/orgs","repos_url":"https://api.github.com/users/mppf/repos","events_url":"https://api.github.com/users/mppf/events{/privacy}","received_events_url":"https://api.github.com/users/mppf/received_events","type":"User","site_admin":false},"created_at":"2018-09-04T19:11:33Z","updated_at":"2018-09-04T19:11:33Z","author_association":"MEMBER","body":"> FWIW, I didn't find any hits for _to_unmanaged or _to_borrowed within release/examples.\r\n\r\ngreat, less work for the moment.\r\n\r\n> @mppf: Is your thinking about avoiding new borrowed C() that we should be simply writing these as new C() or that we should try to write them in some way that doesn't use this pattern at all?\r\n\r\nI was imagining that we'd prefer `new owned C()` for these examples."}}
{"actor":{"display_login":"mppf"}}