{"action":"created","comment":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/comments/54304396","id":54304396,"diff_hunk":"@@ -1099,7 +1099,11 @@ void dispose(A, T)(auto ref A alloc, T p)\n if (is(T == class) || is(T == interface))\n {\n     if (!p) return;\n-    auto support = (cast(void*) p)[0 .. typeid(p).initializer.length];\n+    static if (is(T==interface))\n+        auto ob = cast(Object) p;","path":"std/experimental/allocator/package.d","position":6,"original_position":6,"commit_id":"893a6f86711526bcd2472152077c7510a49682fa","original_commit_id":"893a6f86711526bcd2472152077c7510a49682fa","user":{"login":"BBasile","id":16154339,"avatar_url":"https://avatars.githubusercontent.com/u/16154339?v=3","gravatar_id":"","url":"https://api.github.com/users/BBasile","html_url":"https://github.com/BBasile","followers_url":"https://api.github.com/users/BBasile/followers","following_url":"https://api.github.com/users/BBasile/following{/other_user}","gists_url":"https://api.github.com/users/BBasile/gists{/gist_id}","starred_url":"https://api.github.com/users/BBasile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BBasile/subscriptions","organizations_url":"https://api.github.com/users/BBasile/orgs","repos_url":"https://api.github.com/users/BBasile/repos","events_url":"https://api.github.com/users/BBasile/events{/privacy}","received_events_url":"https://api.github.com/users/BBasile/received_events","type":"User","site_admin":false},"body":"@MEtaLang.\r\n\r\nActually I think it's not a problem. COM interfaces are reference counted, so trying to free one with `dispose` is a programming error. So there is no problem.","created_at":"2016-02-26T21:27:18Z","updated_at":"2016-02-26T21:27:18Z","html_url":"https://github.com/D-Programming-Language/phobos/pull/4022#discussion_r54304396","pull_request_url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/4022","_links":{"self":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/comments/54304396"},"html":{"href":"https://github.com/D-Programming-Language/phobos/pull/4022#discussion_r54304396"},"pull_request":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/4022"}}},"pull_request":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/4022","id":60814733,"html_url":"https://github.com/D-Programming-Language/phobos/pull/4022","diff_url":"https://github.com/D-Programming-Language/phobos/pull/4022.diff","patch_url":"https://github.com/D-Programming-Language/phobos/pull/4022.patch","issue_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/4022","number":4022,"state":"open","locked":false,"title":"fixed issue 15721 - std.experimental.allocator dispose on interface","user":{"login":"BBasile","id":16154339,"avatar_url":"https://avatars.githubusercontent.com/u/16154339?v=3","gravatar_id":"","url":"https://api.github.com/users/BBasile","html_url":"https://github.com/BBasile","followers_url":"https://api.github.com/users/BBasile/followers","following_url":"https://api.github.com/users/BBasile/following{/other_user}","gists_url":"https://api.github.com/users/BBasile/gists{/gist_id}","starred_url":"https://api.github.com/users/BBasile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BBasile/subscriptions","organizations_url":"https://api.github.com/users/BBasile/orgs","repos_url":"https://api.github.com/users/BBasile/repos","events_url":"https://api.github.com/users/BBasile/events{/privacy}","received_events_url":"https://api.github.com/users/BBasile/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-26T09:32:29Z","updated_at":"2016-02-26T21:27:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e267462318f61af677b601d8232cc038fd31dd57","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/4022/commits","review_comments_url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/4022/comments","review_comment_url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/4022/comments","statuses_url":"https://api.github.com/repos/D-Programming-Language/phobos/statuses/893a6f86711526bcd2472152077c7510a49682fa","head":{"label":"BBasile:issue-15721","ref":"issue-15721","sha":"893a6f86711526bcd2472152077c7510a49682fa","user":{"login":"BBasile","id":16154339,"avatar_url":"https://avatars.githubusercontent.com/u/16154339?v=3","gravatar_id":"","url":"https://api.github.com/users/BBasile","html_url":"https://github.com/BBasile","followers_url":"https://api.github.com/users/BBasile/followers","following_url":"https://api.github.com/users/BBasile/following{/other_user}","gists_url":"https://api.github.com/users/BBasile/gists{/gist_id}","starred_url":"https://api.github.com/users/BBasile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BBasile/subscriptions","organizations_url":"https://api.github.com/users/BBasile/orgs","repos_url":"https://api.github.com/users/BBasile/repos","events_url":"https://api.github.com/users/BBasile/events{/privacy}","received_events_url":"https://api.github.com/users/BBasile/received_events","type":"User","site_admin":false},"repo":{"id":47467512,"name":"phobos","full_name":"BBasile/phobos","owner":{"login":"BBasile","id":16154339,"avatar_url":"https://avatars.githubusercontent.com/u/16154339?v=3","gravatar_id":"","url":"https://api.github.com/users/BBasile","html_url":"https://github.com/BBasile","followers_url":"https://api.github.com/users/BBasile/followers","following_url":"https://api.github.com/users/BBasile/following{/other_user}","gists_url":"https://api.github.com/users/BBasile/gists{/gist_id}","starred_url":"https://api.github.com/users/BBasile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BBasile/subscriptions","organizations_url":"https://api.github.com/users/BBasile/orgs","repos_url":"https://api.github.com/users/BBasile/repos","events_url":"https://api.github.com/users/BBasile/events{/privacy}","received_events_url":"https://api.github.com/users/BBasile/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BBasile/phobos","description":"The standard library of the D programming language","fork":true,"url":"https://api.github.com/repos/BBasile/phobos","forks_url":"https://api.github.com/repos/BBasile/phobos/forks","keys_url":"https://api.github.com/repos/BBasile/phobos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BBasile/phobos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BBasile/phobos/teams","hooks_url":"https://api.github.com/repos/BBasile/phobos/hooks","issue_events_url":"https://api.github.com/repos/BBasile/phobos/issues/events{/number}","events_url":"https://api.github.com/repos/BBasile/phobos/events","assignees_url":"https://api.github.com/repos/BBasile/phobos/assignees{/user}","branches_url":"https://api.github.com/repos/BBasile/phobos/branches{/branch}","tags_url":"https://api.github.com/repos/BBasile/phobos/tags","blobs_url":"https://api.github.com/repos/BBasile/phobos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BBasile/phobos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BBasile/phobos/git/refs{/sha}","trees_url":"https://api.github.com/repos/BBasile/phobos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BBasile/phobos/statuses/{sha}","languages_url":"https://api.github.com/repos/BBasile/phobos/languages","stargazers_url":"https://api.github.com/repos/BBasile/phobos/stargazers","contributors_url":"https://api.github.com/repos/BBasile/phobos/contributors","subscribers_url":"https://api.github.com/repos/BBasile/phobos/subscribers","subscription_url":"https://api.github.com/repos/BBasile/phobos/subscription","commits_url":"https://api.github.com/repos/BBasile/phobos/commits{/sha}","git_commits_url":"https://api.github.com/repos/BBasile/phobos/git/commits{/sha}","comments_url":"https://api.github.com/repos/BBasile/phobos/comments{/number}","issue_comment_url":"https://api.github.com/repos/BBasile/phobos/issues/comments{/number}","contents_url":"https://api.github.com/repos/BBasile/phobos/contents/{+path}","compare_url":"https://api.github.com/repos/BBasile/phobos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BBasile/phobos/merges","archive_url":"https://api.github.com/repos/BBasile/phobos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BBasile/phobos/downloads","issues_url":"https://api.github.com/repos/BBasile/phobos/issues{/number}","pulls_url":"https://api.github.com/repos/BBasile/phobos/pulls{/number}","milestones_url":"https://api.github.com/repos/BBasile/phobos/milestones{/number}","notifications_url":"https://api.github.com/repos/BBasile/phobos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BBasile/phobos/labels{/name}","releases_url":"https://api.github.com/repos/BBasile/phobos/releases{/id}","deployments_url":"https://api.github.com/repos/BBasile/phobos/deployments","created_at":"2015-12-05T18:26:16Z","updated_at":"2016-01-24T04:34:45Z","pushed_at":"2016-02-26T10:51:14Z","git_url":"git://github.com/BBasile/phobos.git","ssh_url":"git@github.com:BBasile/phobos.git","clone_url":"https://github.com/BBasile/phobos.git","svn_url":"https://github.com/BBasile/phobos","homepage":"dlang.org/phobos","size":49301,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"D-Programming-Language:master","ref":"master","sha":"3ad0489e36819780a5b9c8a486968f6ae2fe73d3","user":{"login":"D-Programming-Language","id":565913,"avatar_url":"https://avatars.githubusercontent.com/u/565913?v=3","gravatar_id":"","url":"https://api.github.com/users/D-Programming-Language","html_url":"https://github.com/D-Programming-Language","followers_url":"https://api.github.com/users/D-Programming-Language/followers","following_url":"https://api.github.com/users/D-Programming-Language/following{/other_user}","gists_url":"https://api.github.com/users/D-Programming-Language/gists{/gist_id}","starred_url":"https://api.github.com/users/D-Programming-Language/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D-Programming-Language/subscriptions","organizations_url":"https://api.github.com/users/D-Programming-Language/orgs","repos_url":"https://api.github.com/users/D-Programming-Language/repos","events_url":"https://api.github.com/users/D-Programming-Language/events{/privacy}","received_events_url":"https://api.github.com/users/D-Programming-Language/received_events","type":"Organization","site_admin":false},"repo":{"id":1257084,"name":"phobos","full_name":"D-Programming-Language/phobos","owner":{"login":"D-Programming-Language","id":565913,"avatar_url":"https://avatars.githubusercontent.com/u/565913?v=3","gravatar_id":"","url":"https://api.github.com/users/D-Programming-Language","html_url":"https://github.com/D-Programming-Language","followers_url":"https://api.github.com/users/D-Programming-Language/followers","following_url":"https://api.github.com/users/D-Programming-Language/following{/other_user}","gists_url":"https://api.github.com/users/D-Programming-Language/gists{/gist_id}","starred_url":"https://api.github.com/users/D-Programming-Language/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D-Programming-Language/subscriptions","organizations_url":"https://api.github.com/users/D-Programming-Language/orgs","repos_url":"https://api.github.com/users/D-Programming-Language/repos","events_url":"https://api.github.com/users/D-Programming-Language/events{/privacy}","received_events_url":"https://api.github.com/users/D-Programming-Language/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/D-Programming-Language/phobos","description":"The standard library of the D programming language","fork":false,"url":"https://api.github.com/repos/D-Programming-Language/phobos","forks_url":"https://api.github.com/repos/D-Programming-Language/phobos/forks","keys_url":"https://api.github.com/repos/D-Programming-Language/phobos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/D-Programming-Language/phobos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/D-Programming-Language/phobos/teams","hooks_url":"https://api.github.com/repos/D-Programming-Language/phobos/hooks","issue_events_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/events{/number}","events_url":"https://api.github.com/repos/D-Programming-Language/phobos/events","assignees_url":"https://api.github.com/repos/D-Programming-Language/phobos/assignees{/user}","branches_url":"https://api.github.com/repos/D-Programming-Language/phobos/branches{/branch}","tags_url":"https://api.github.com/repos/D-Programming-Language/phobos/tags","blobs_url":"https://api.github.com/repos/D-Programming-Language/phobos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/D-Programming-Language/phobos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/D-Programming-Language/phobos/git/refs{/sha}","trees_url":"https://api.github.com/repos/D-Programming-Language/phobos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/D-Programming-Language/phobos/statuses/{sha}","languages_url":"https://api.github.com/repos/D-Programming-Language/phobos/languages","stargazers_url":"https://api.github.com/repos/D-Programming-Language/phobos/stargazers","contributors_url":"https://api.github.com/repos/D-Programming-Language/phobos/contributors","subscribers_url":"https://api.github.com/repos/D-Programming-Language/phobos/subscribers","subscription_url":"https://api.github.com/repos/D-Programming-Language/phobos/subscription","commits_url":"https://api.github.com/repos/D-Programming-Language/phobos/commits{/sha}","git_commits_url":"https://api.github.com/repos/D-Programming-Language/phobos/git/commits{/sha}","comments_url":"https://api.github.com/repos/D-Programming-Language/phobos/comments{/number}","issue_comment_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/comments{/number}","contents_url":"https://api.github.com/repos/D-Programming-Language/phobos/contents/{+path}","compare_url":"https://api.github.com/repos/D-Programming-Language/phobos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/D-Programming-Language/phobos/merges","archive_url":"https://api.github.com/repos/D-Programming-Language/phobos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/D-Programming-Language/phobos/downloads","issues_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues{/number}","pulls_url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls{/number}","milestones_url":"https://api.github.com/repos/D-Programming-Language/phobos/milestones{/number}","notifications_url":"https://api.github.com/repos/D-Programming-Language/phobos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/D-Programming-Language/phobos/labels{/name}","releases_url":"https://api.github.com/repos/D-Programming-Language/phobos/releases{/id}","deployments_url":"https://api.github.com/repos/D-Programming-Language/phobos/deployments","created_at":"2011-01-15T07:00:06Z","updated_at":"2016-02-24T14:21:05Z","pushed_at":"2016-02-26T21:25:31Z","git_url":"git://github.com/D-Programming-Language/phobos.git","ssh_url":"git@github.com:D-Programming-Language/phobos.git","clone_url":"https://github.com/D-Programming-Language/phobos.git","svn_url":"https://github.com/D-Programming-Language/phobos","homepage":"dlang.org/phobos","size":69664,"stargazers_count":679,"watchers_count":679,"language":"D","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":455,"mirror_url":null,"open_issues_count":83,"forks":455,"open_issues":83,"watchers":679,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/4022"},"html":{"href":"https://github.com/D-Programming-Language/phobos/pull/4022"},"issue":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/issues/4022"},"comments":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/issues/4022/comments"},"review_comments":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/4022/comments"},"review_comment":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/4022/commits"},"statuses":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/statuses/893a6f86711526bcd2472152077c7510a49682fa"}}}}