{"action":"created","comment":{"url":"https://api.github.com/repos/dlang/phobos/pulls/comments/72368555","id":72368555,"diff_hunk":"@@ -796,22 +796,49 @@ private void copyBackwards(T)(T[] src, T[] dest)\n \n     assert(src.length == dest.length);\n \n-    if (!__ctfe || hasElaborateCopyConstructor!T)\n+    static if (!hasElaborateAssign!T)\n     {\n-        /* insertInPlace relies on dest being uninitialized, so no postblits allowed,\n-         * as this is a MOVE that overwrites the destination, not a COPY.\n-         * BUG: insertInPlace will not work with ctfe and postblits\n-         */\n-        memmove(dest.ptr, src.ptr, src.length * T.sizeof);\n+        if (!__ctfe)","path":"std/array.d","position":12,"original_position":12,"commit_id":"c3b1ab609b1e24e09691f5c7161762fae2d5b340","original_commit_id":"c3b1ab609b1e24e09691f5c7161762fae2d5b340","user":{"login":"JackStouffer","id":680068,"avatar_url":"https://avatars.githubusercontent.com/u/680068?v=3","gravatar_id":"","url":"https://api.github.com/users/JackStouffer","html_url":"https://github.com/JackStouffer","followers_url":"https://api.github.com/users/JackStouffer/followers","following_url":"https://api.github.com/users/JackStouffer/following{/other_user}","gists_url":"https://api.github.com/users/JackStouffer/gists{/gist_id}","starred_url":"https://api.github.com/users/JackStouffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackStouffer/subscriptions","organizations_url":"https://api.github.com/users/JackStouffer/orgs","repos_url":"https://api.github.com/users/JackStouffer/repos","events_url":"https://api.github.com/users/JackStouffer/events{/privacy}","received_events_url":"https://api.github.com/users/JackStouffer/received_events","type":"User","site_admin":false},"body":"`if (!__ctfe)` is special. It's a static if while not being an actual static if. I believe `__ctfe` cannot even be accessed via a `static if`","created_at":"2016-07-27T01:40:05Z","updated_at":"2016-07-27T01:40:05Z","html_url":"https://github.com/dlang/phobos/pull/4643#discussion_r72368555","pull_request_url":"https://api.github.com/repos/dlang/phobos/pulls/4643","_links":{"self":{"href":"https://api.github.com/repos/dlang/phobos/pulls/comments/72368555"},"html":{"href":"https://github.com/dlang/phobos/pull/4643#discussion_r72368555"},"pull_request":{"href":"https://api.github.com/repos/dlang/phobos/pulls/4643"}}},"pull_request":{"url":"https://api.github.com/repos/dlang/phobos/pulls/4643","id":78573797,"html_url":"https://github.com/dlang/phobos/pull/4643","diff_url":"https://github.com/dlang/phobos/pull/4643.diff","patch_url":"https://github.com/dlang/phobos/pull/4643.patch","issue_url":"https://api.github.com/repos/dlang/phobos/issues/4643","number":4643,"state":"open","locked":false,"title":"fix Issue 16314 - private copyBackwards is broken","user":{"login":"9il","id":845083,"avatar_url":"https://avatars.githubusercontent.com/u/845083?v=3","gravatar_id":"","url":"https://api.github.com/users/9il","html_url":"https://github.com/9il","followers_url":"https://api.github.com/users/9il/followers","following_url":"https://api.github.com/users/9il/following{/other_user}","gists_url":"https://api.github.com/users/9il/gists{/gist_id}","starred_url":"https://api.github.com/users/9il/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9il/subscriptions","organizations_url":"https://api.github.com/users/9il/orgs","repos_url":"https://api.github.com/users/9il/repos","events_url":"https://api.github.com/users/9il/events{/privacy}","received_events_url":"https://api.github.com/users/9il/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-23T14:48:11Z","updated_at":"2016-07-27T01:40:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e23834e2cdb52cb98e0ddd7a583e40e2603ed6d0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dlang/phobos/pulls/4643/commits","review_comments_url":"https://api.github.com/repos/dlang/phobos/pulls/4643/comments","review_comment_url":"https://api.github.com/repos/dlang/phobos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dlang/phobos/issues/4643/comments","statuses_url":"https://api.github.com/repos/dlang/phobos/statuses/c3b1ab609b1e24e09691f5c7161762fae2d5b340","head":{"label":"9il:cb","ref":"cb","sha":"c3b1ab609b1e24e09691f5c7161762fae2d5b340","user":{"login":"9il","id":845083,"avatar_url":"https://avatars.githubusercontent.com/u/845083?v=3","gravatar_id":"","url":"https://api.github.com/users/9il","html_url":"https://github.com/9il","followers_url":"https://api.github.com/users/9il/followers","following_url":"https://api.github.com/users/9il/following{/other_user}","gists_url":"https://api.github.com/users/9il/gists{/gist_id}","starred_url":"https://api.github.com/users/9il/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9il/subscriptions","organizations_url":"https://api.github.com/users/9il/orgs","repos_url":"https://api.github.com/users/9il/repos","events_url":"https://api.github.com/users/9il/events{/privacy}","received_events_url":"https://api.github.com/users/9il/received_events","type":"User","site_admin":false},"repo":{"id":63796209,"name":"phobos","full_name":"9il/phobos","owner":{"login":"9il","id":845083,"avatar_url":"https://avatars.githubusercontent.com/u/845083?v=3","gravatar_id":"","url":"https://api.github.com/users/9il","html_url":"https://github.com/9il","followers_url":"https://api.github.com/users/9il/followers","following_url":"https://api.github.com/users/9il/following{/other_user}","gists_url":"https://api.github.com/users/9il/gists{/gist_id}","starred_url":"https://api.github.com/users/9il/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9il/subscriptions","organizations_url":"https://api.github.com/users/9il/orgs","repos_url":"https://api.github.com/users/9il/repos","events_url":"https://api.github.com/users/9il/events{/privacy}","received_events_url":"https://api.github.com/users/9il/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/9il/phobos","description":"The standard library of the D programming language","fork":true,"url":"https://api.github.com/repos/9il/phobos","forks_url":"https://api.github.com/repos/9il/phobos/forks","keys_url":"https://api.github.com/repos/9il/phobos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/9il/phobos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/9il/phobos/teams","hooks_url":"https://api.github.com/repos/9il/phobos/hooks","issue_events_url":"https://api.github.com/repos/9il/phobos/issues/events{/number}","events_url":"https://api.github.com/repos/9il/phobos/events","assignees_url":"https://api.github.com/repos/9il/phobos/assignees{/user}","branches_url":"https://api.github.com/repos/9il/phobos/branches{/branch}","tags_url":"https://api.github.com/repos/9il/phobos/tags","blobs_url":"https://api.github.com/repos/9il/phobos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/9il/phobos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/9il/phobos/git/refs{/sha}","trees_url":"https://api.github.com/repos/9il/phobos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/9il/phobos/statuses/{sha}","languages_url":"https://api.github.com/repos/9il/phobos/languages","stargazers_url":"https://api.github.com/repos/9il/phobos/stargazers","contributors_url":"https://api.github.com/repos/9il/phobos/contributors","subscribers_url":"https://api.github.com/repos/9il/phobos/subscribers","subscription_url":"https://api.github.com/repos/9il/phobos/subscription","commits_url":"https://api.github.com/repos/9il/phobos/commits{/sha}","git_commits_url":"https://api.github.com/repos/9il/phobos/git/commits{/sha}","comments_url":"https://api.github.com/repos/9il/phobos/comments{/number}","issue_comment_url":"https://api.github.com/repos/9il/phobos/issues/comments{/number}","contents_url":"https://api.github.com/repos/9il/phobos/contents/{+path}","compare_url":"https://api.github.com/repos/9il/phobos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/9il/phobos/merges","archive_url":"https://api.github.com/repos/9il/phobos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/9il/phobos/downloads","issues_url":"https://api.github.com/repos/9il/phobos/issues{/number}","pulls_url":"https://api.github.com/repos/9il/phobos/pulls{/number}","milestones_url":"https://api.github.com/repos/9il/phobos/milestones{/number}","notifications_url":"https://api.github.com/repos/9il/phobos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/9il/phobos/labels{/name}","releases_url":"https://api.github.com/repos/9il/phobos/releases{/id}","deployments_url":"https://api.github.com/repos/9il/phobos/deployments","created_at":"2016-07-20T16:17:20Z","updated_at":"2016-07-20T16:17:24Z","pushed_at":"2016-07-26T13:45:55Z","git_url":"git://github.com/9il/phobos.git","ssh_url":"git@github.com:9il/phobos.git","clone_url":"https://github.com/9il/phobos.git","svn_url":"https://github.com/9il/phobos","homepage":"dlang.org/phobos","size":45038,"stargazers_count":0,"watchers_count":0,"language":"D","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"dlang:master","ref":"master","sha":"84075471bbfdd709e5038954b8f7faf10abd978f","user":{"login":"dlang","id":565913,"avatar_url":"https://avatars.githubusercontent.com/u/565913?v=3","gravatar_id":"","url":"https://api.github.com/users/dlang","html_url":"https://github.com/dlang","followers_url":"https://api.github.com/users/dlang/followers","following_url":"https://api.github.com/users/dlang/following{/other_user}","gists_url":"https://api.github.com/users/dlang/gists{/gist_id}","starred_url":"https://api.github.com/users/dlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlang/subscriptions","organizations_url":"https://api.github.com/users/dlang/orgs","repos_url":"https://api.github.com/users/dlang/repos","events_url":"https://api.github.com/users/dlang/events{/privacy}","received_events_url":"https://api.github.com/users/dlang/received_events","type":"Organization","site_admin":false},"repo":{"id":1257084,"name":"phobos","full_name":"dlang/phobos","owner":{"login":"dlang","id":565913,"avatar_url":"https://avatars.githubusercontent.com/u/565913?v=3","gravatar_id":"","url":"https://api.github.com/users/dlang","html_url":"https://github.com/dlang","followers_url":"https://api.github.com/users/dlang/followers","following_url":"https://api.github.com/users/dlang/following{/other_user}","gists_url":"https://api.github.com/users/dlang/gists{/gist_id}","starred_url":"https://api.github.com/users/dlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlang/subscriptions","organizations_url":"https://api.github.com/users/dlang/orgs","repos_url":"https://api.github.com/users/dlang/repos","events_url":"https://api.github.com/users/dlang/events{/privacy}","received_events_url":"https://api.github.com/users/dlang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dlang/phobos","description":"The standard library of the D programming language","fork":false,"url":"https://api.github.com/repos/dlang/phobos","forks_url":"https://api.github.com/repos/dlang/phobos/forks","keys_url":"https://api.github.com/repos/dlang/phobos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dlang/phobos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dlang/phobos/teams","hooks_url":"https://api.github.com/repos/dlang/phobos/hooks","issue_events_url":"https://api.github.com/repos/dlang/phobos/issues/events{/number}","events_url":"https://api.github.com/repos/dlang/phobos/events","assignees_url":"https://api.github.com/repos/dlang/phobos/assignees{/user}","branches_url":"https://api.github.com/repos/dlang/phobos/branches{/branch}","tags_url":"https://api.github.com/repos/dlang/phobos/tags","blobs_url":"https://api.github.com/repos/dlang/phobos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dlang/phobos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dlang/phobos/git/refs{/sha}","trees_url":"https://api.github.com/repos/dlang/phobos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dlang/phobos/statuses/{sha}","languages_url":"https://api.github.com/repos/dlang/phobos/languages","stargazers_url":"https://api.github.com/repos/dlang/phobos/stargazers","contributors_url":"https://api.github.com/repos/dlang/phobos/contributors","subscribers_url":"https://api.github.com/repos/dlang/phobos/subscribers","subscription_url":"https://api.github.com/repos/dlang/phobos/subscription","commits_url":"https://api.github.com/repos/dlang/phobos/commits{/sha}","git_commits_url":"https://api.github.com/repos/dlang/phobos/git/commits{/sha}","comments_url":"https://api.github.com/repos/dlang/phobos/comments{/number}","issue_comment_url":"https://api.github.com/repos/dlang/phobos/issues/comments{/number}","contents_url":"https://api.github.com/repos/dlang/phobos/contents/{+path}","compare_url":"https://api.github.com/repos/dlang/phobos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dlang/phobos/merges","archive_url":"https://api.github.com/repos/dlang/phobos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dlang/phobos/downloads","issues_url":"https://api.github.com/repos/dlang/phobos/issues{/number}","pulls_url":"https://api.github.com/repos/dlang/phobos/pulls{/number}","milestones_url":"https://api.github.com/repos/dlang/phobos/milestones{/number}","notifications_url":"https://api.github.com/repos/dlang/phobos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dlang/phobos/labels{/name}","releases_url":"https://api.github.com/repos/dlang/phobos/releases{/id}","deployments_url":"https://api.github.com/repos/dlang/phobos/deployments","created_at":"2011-01-15T07:00:06Z","updated_at":"2016-07-25T08:37:51Z","pushed_at":"2016-07-27T01:35:04Z","git_url":"git://github.com/dlang/phobos.git","ssh_url":"git@github.com:dlang/phobos.git","clone_url":"https://github.com/dlang/phobos.git","svn_url":"https://github.com/dlang/phobos","homepage":"dlang.org/phobos","size":74117,"stargazers_count":728,"watchers_count":728,"language":"D","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":505,"mirror_url":null,"open_issues_count":99,"forks":505,"open_issues":99,"watchers":728,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dlang/phobos/pulls/4643"},"html":{"href":"https://github.com/dlang/phobos/pull/4643"},"issue":{"href":"https://api.github.com/repos/dlang/phobos/issues/4643"},"comments":{"href":"https://api.github.com/repos/dlang/phobos/issues/4643/comments"},"review_comments":{"href":"https://api.github.com/repos/dlang/phobos/pulls/4643/comments"},"review_comment":{"href":"https://api.github.com/repos/dlang/phobos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dlang/phobos/pulls/4643/commits"},"statuses":{"href":"https://api.github.com/repos/dlang/phobos/statuses/c3b1ab609b1e24e09691f5c7161762fae2d5b340"}}}}
{"actor":{"display_login":"JackStouffer"}}