{"action":"created","issue":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3522","labels_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3522/labels{/name}","comments_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3522/comments","events_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3522/events","html_url":"https://github.com/D-Programming-Language/phobos/pull/3522","id":98599116,"number":3522,"title":"Supplemental fix for issue 14860","user":{"login":"9rnsr","id":254394,"avatar_url":"https://avatars.githubusercontent.com/u/254394?v=3","gravatar_id":"","url":"https://api.github.com/users/9rnsr","html_url":"https://github.com/9rnsr","followers_url":"https://api.github.com/users/9rnsr/followers","following_url":"https://api.github.com/users/9rnsr/following{/other_user}","gists_url":"https://api.github.com/users/9rnsr/gists{/gist_id}","starred_url":"https://api.github.com/users/9rnsr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9rnsr/subscriptions","organizations_url":"https://api.github.com/users/9rnsr/orgs","repos_url":"https://api.github.com/users/9rnsr/repos","events_url":"https://api.github.com/users/9rnsr/events{/privacy}","received_events_url":"https://api.github.com/users/9rnsr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-02T10:07:58Z","updated_at":"2015-08-02T11:07:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/3522","html_url":"https://github.com/D-Programming-Language/phobos/pull/3522","diff_url":"https://github.com/D-Programming-Language/phobos/pull/3522.diff","patch_url":"https://github.com/D-Programming-Language/phobos/pull/3522.patch"},"body":"https://issues.dlang.org/show_bug.cgi?id=14860\r\n\r\nRequired by: https://github.com/D-Programming-Language/dmd/pull/4856\r\n\r\n`task[] = RTask.init;` has two bugs:\r\n\r\n1. `RTask` is a nested struct, so `RTask.init` contains null context pointer.\r\n2. That is a block assignment, so there is a possibility to call\r\n   `RTask.~this()` on garbage objects (stack allocated `buf` is initialized by `void`).\r\n\r\nFixed to use `emplaceRef` on each elements."},"comment":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/comments/127015712","html_url":"https://github.com/D-Programming-Language/phobos/pull/3522#issuecomment-127015712","issue_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3522","id":127015712,"user":{"login":"9rnsr","id":254394,"avatar_url":"https://avatars.githubusercontent.com/u/254394?v=3","gravatar_id":"","url":"https://api.github.com/users/9rnsr","html_url":"https://github.com/9rnsr","followers_url":"https://api.github.com/users/9rnsr/followers","following_url":"https://api.github.com/users/9rnsr/following{/other_user}","gists_url":"https://api.github.com/users/9rnsr/gists{/gist_id}","starred_url":"https://api.github.com/users/9rnsr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9rnsr/subscriptions","organizations_url":"https://api.github.com/users/9rnsr/orgs","repos_url":"https://api.github.com/users/9rnsr/repos","events_url":"https://api.github.com/users/9rnsr/events{/privacy}","received_events_url":"https://api.github.com/users/9rnsr/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T11:07:50Z","updated_at":"2015-08-02T11:07:50Z","body":"Auto-merge toggled on"}}