{"action":"closed","number":1269,"pull_request":{"url":"https://api.github.com/repos/ldc-developers/ldc/pulls/1269","id":57742140,"html_url":"https://github.com/ldc-developers/ldc/pull/1269","diff_url":"https://github.com/ldc-developers/ldc/pull/1269.diff","patch_url":"https://github.com/ldc-developers/ldc/pull/1269.patch","issue_url":"https://api.github.com/repos/ldc-developers/ldc/issues/1269","number":1269,"state":"closed","locked":false,"title":"Do not construct IrTypeSArray twice for same type.","user":{"login":"redstar","id":827859,"avatar_url":"https://avatars.githubusercontent.com/u/827859?v=3","gravatar_id":"","url":"https://api.github.com/users/redstar","html_url":"https://github.com/redstar","followers_url":"https://api.github.com/users/redstar/followers","following_url":"https://api.github.com/users/redstar/following{/other_user}","gists_url":"https://api.github.com/users/redstar/gists{/gist_id}","starred_url":"https://api.github.com/users/redstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redstar/subscriptions","organizations_url":"https://api.github.com/users/redstar/orgs","repos_url":"https://api.github.com/users/redstar/repos","events_url":"https://api.github.com/users/redstar/events{/privacy}","received_events_url":"https://api.github.com/users/redstar/received_events","type":"User","site_admin":false},"body":"The constructor of IrTypeSArray() calls sarray2llvm(). This function calls\r\nDtoMemType() which may recursively try to construct another IrTypeSArray\r\nfor the same type. To prevent this the call to sarray2llvm() is moved\r\n out\r\nof the constructor into the factory method and an explicit check is added.\r\n\r\nThis fixes issue #1266.","created_at":"2016-01-30T15:29:06Z","updated_at":"2016-01-30T16:45:16Z","closed_at":"2016-01-30T16:45:16Z","merged_at":"2016-01-30T16:45:16Z","merge_commit_sha":"d93698d802a190f6fd8239b3949e6e13d63ecba6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ldc-developers/ldc/pulls/1269/commits","review_comments_url":"https://api.github.com/repos/ldc-developers/ldc/pulls/1269/comments","review_comment_url":"https://api.github.com/repos/ldc-developers/ldc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ldc-developers/ldc/issues/1269/comments","statuses_url":"https://api.github.com/repos/ldc-developers/ldc/statuses/bf31921a872bd37b815de592e35a31430cd1e897","head":{"label":"redstar:issue1266","ref":"issue1266","sha":"bf31921a872bd37b815de592e35a31430cd1e897","user":{"login":"redstar","id":827859,"avatar_url":"https://avatars.githubusercontent.com/u/827859?v=3","gravatar_id":"","url":"https://api.github.com/users/redstar","html_url":"https://github.com/redstar","followers_url":"https://api.github.com/users/redstar/followers","following_url":"https://api.github.com/users/redstar/following{/other_user}","gists_url":"https://api.github.com/users/redstar/gists{/gist_id}","starred_url":"https://api.github.com/users/redstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redstar/subscriptions","organizations_url":"https://api.github.com/users/redstar/orgs","repos_url":"https://api.github.com/users/redstar/repos","events_url":"https://api.github.com/users/redstar/events{/privacy}","received_events_url":"https://api.github.com/users/redstar/received_events","type":"User","site_admin":false},"repo":{"id":2546096,"name":"ldc","full_name":"redstar/ldc","owner":{"login":"redstar","id":827859,"avatar_url":"https://avatars.githubusercontent.com/u/827859?v=3","gravatar_id":"","url":"https://api.github.com/users/redstar","html_url":"https://github.com/redstar","followers_url":"https://api.github.com/users/redstar/followers","following_url":"https://api.github.com/users/redstar/following{/other_user}","gists_url":"https://api.github.com/users/redstar/gists{/gist_id}","starred_url":"https://api.github.com/users/redstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redstar/subscriptions","organizations_url":"https://api.github.com/users/redstar/orgs","repos_url":"https://api.github.com/users/redstar/repos","events_url":"https://api.github.com/users/redstar/events{/privacy}","received_events_url":"https://api.github.com/users/redstar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/redstar/ldc","description":"A LLVM-based compiler for the D programming language.","fork":true,"url":"https://api.github.com/repos/redstar/ldc","forks_url":"https://api.github.com/repos/redstar/ldc/forks","keys_url":"https://api.github.com/repos/redstar/ldc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redstar/ldc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redstar/ldc/teams","hooks_url":"https://api.github.com/repos/redstar/ldc/hooks","issue_events_url":"https://api.github.com/repos/redstar/ldc/issues/events{/number}","events_url":"https://api.github.com/repos/redstar/ldc/events","assignees_url":"https://api.github.com/repos/redstar/ldc/assignees{/user}","branches_url":"https://api.github.com/repos/redstar/ldc/branches{/branch}","tags_url":"https://api.github.com/repos/redstar/ldc/tags","blobs_url":"https://api.github.com/repos/redstar/ldc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redstar/ldc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redstar/ldc/git/refs{/sha}","trees_url":"https://api.github.com/repos/redstar/ldc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redstar/ldc/statuses/{sha}","languages_url":"https://api.github.com/repos/redstar/ldc/languages","stargazers_url":"https://api.github.com/repos/redstar/ldc/stargazers","contributors_url":"https://api.github.com/repos/redstar/ldc/contributors","subscribers_url":"https://api.github.com/repos/redstar/ldc/subscribers","subscription_url":"https://api.github.com/repos/redstar/ldc/subscription","commits_url":"https://api.github.com/repos/redstar/ldc/commits{/sha}","git_commits_url":"https://api.github.com/repos/redstar/ldc/git/commits{/sha}","comments_url":"https://api.github.com/repos/redstar/ldc/comments{/number}","issue_comment_url":"https://api.github.com/repos/redstar/ldc/issues/comments{/number}","contents_url":"https://api.github.com/repos/redstar/ldc/contents/{+path}","compare_url":"https://api.github.com/repos/redstar/ldc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redstar/ldc/merges","archive_url":"https://api.github.com/repos/redstar/ldc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redstar/ldc/downloads","issues_url":"https://api.github.com/repos/redstar/ldc/issues{/number}","pulls_url":"https://api.github.com/repos/redstar/ldc/pulls{/number}","milestones_url":"https://api.github.com/repos/redstar/ldc/milestones{/number}","notifications_url":"https://api.github.com/repos/redstar/ldc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redstar/ldc/labels{/name}","releases_url":"https://api.github.com/repos/redstar/ldc/releases{/id}","deployments_url":"https://api.github.com/repos/redstar/ldc/deployments","created_at":"2011-10-10T05:11:35Z","updated_at":"2016-01-25T19:17:26Z","pushed_at":"2016-01-30T15:28:32Z","git_url":"git://github.com/redstar/ldc.git","ssh_url":"git@github.com:redstar/ldc.git","clone_url":"https://github.com/redstar/ldc.git","svn_url":"https://github.com/redstar/ldc","homepage":"http://ldc-developers.github.com/ldc","size":21639,"stargazers_count":2,"watchers_count":2,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"ldc-developers:master","ref":"master","sha":"f91f019e4268eb6f9e60ebfb84b9dbc0f828a6f9","user":{"login":"ldc-developers","id":960112,"avatar_url":"https://avatars.githubusercontent.com/u/960112?v=3","gravatar_id":"","url":"https://api.github.com/users/ldc-developers","html_url":"https://github.com/ldc-developers","followers_url":"https://api.github.com/users/ldc-developers/followers","following_url":"https://api.github.com/users/ldc-developers/following{/other_user}","gists_url":"https://api.github.com/users/ldc-developers/gists{/gist_id}","starred_url":"https://api.github.com/users/ldc-developers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldc-developers/subscriptions","organizations_url":"https://api.github.com/users/ldc-developers/orgs","repos_url":"https://api.github.com/users/ldc-developers/repos","events_url":"https://api.github.com/users/ldc-developers/events{/privacy}","received_events_url":"https://api.github.com/users/ldc-developers/received_events","type":"Organization","site_admin":false},"repo":{"id":2174666,"name":"ldc","full_name":"ldc-developers/ldc","owner":{"login":"ldc-developers","id":960112,"avatar_url":"https://avatars.githubusercontent.com/u/960112?v=3","gravatar_id":"","url":"https://api.github.com/users/ldc-developers","html_url":"https://github.com/ldc-developers","followers_url":"https://api.github.com/users/ldc-developers/followers","following_url":"https://api.github.com/users/ldc-developers/following{/other_user}","gists_url":"https://api.github.com/users/ldc-developers/gists{/gist_id}","starred_url":"https://api.github.com/users/ldc-developers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldc-developers/subscriptions","organizations_url":"https://api.github.com/users/ldc-developers/orgs","repos_url":"https://api.github.com/users/ldc-developers/repos","events_url":"https://api.github.com/users/ldc-developers/events{/privacy}","received_events_url":"https://api.github.com/users/ldc-developers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ldc-developers/ldc","description":"The LLVM-based D compiler.","fork":false,"url":"https://api.github.com/repos/ldc-developers/ldc","forks_url":"https://api.github.com/repos/ldc-developers/ldc/forks","keys_url":"https://api.github.com/repos/ldc-developers/ldc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ldc-developers/ldc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ldc-developers/ldc/teams","hooks_url":"https://api.github.com/repos/ldc-developers/ldc/hooks","issue_events_url":"https://api.github.com/repos/ldc-developers/ldc/issues/events{/number}","events_url":"https://api.github.com/repos/ldc-developers/ldc/events","assignees_url":"https://api.github.com/repos/ldc-developers/ldc/assignees{/user}","branches_url":"https://api.github.com/repos/ldc-developers/ldc/branches{/branch}","tags_url":"https://api.github.com/repos/ldc-developers/ldc/tags","blobs_url":"https://api.github.com/repos/ldc-developers/ldc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ldc-developers/ldc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ldc-developers/ldc/git/refs{/sha}","trees_url":"https://api.github.com/repos/ldc-developers/ldc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ldc-developers/ldc/statuses/{sha}","languages_url":"https://api.github.com/repos/ldc-developers/ldc/languages","stargazers_url":"https://api.github.com/repos/ldc-developers/ldc/stargazers","contributors_url":"https://api.github.com/repos/ldc-developers/ldc/contributors","subscribers_url":"https://api.github.com/repos/ldc-developers/ldc/subscribers","subscription_url":"https://api.github.com/repos/ldc-developers/ldc/subscription","commits_url":"https://api.github.com/repos/ldc-developers/ldc/commits{/sha}","git_commits_url":"https://api.github.com/repos/ldc-developers/ldc/git/commits{/sha}","comments_url":"https://api.github.com/repos/ldc-developers/ldc/comments{/number}","issue_comment_url":"https://api.github.com/repos/ldc-developers/ldc/issues/comments{/number}","contents_url":"https://api.github.com/repos/ldc-developers/ldc/contents/{+path}","compare_url":"https://api.github.com/repos/ldc-developers/ldc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ldc-developers/ldc/merges","archive_url":"https://api.github.com/repos/ldc-developers/ldc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ldc-developers/ldc/downloads","issues_url":"https://api.github.com/repos/ldc-developers/ldc/issues{/number}","pulls_url":"https://api.github.com/repos/ldc-developers/ldc/pulls{/number}","milestones_url":"https://api.github.com/repos/ldc-developers/ldc/milestones{/number}","notifications_url":"https://api.github.com/repos/ldc-developers/ldc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ldc-developers/ldc/labels{/name}","releases_url":"https://api.github.com/repos/ldc-developers/ldc/releases{/id}","deployments_url":"https://api.github.com/repos/ldc-developers/ldc/deployments","created_at":"2011-08-08T17:10:27Z","updated_at":"2016-01-29T04:20:06Z","pushed_at":"2016-01-30T16:45:16Z","git_url":"git://github.com/ldc-developers/ldc.git","ssh_url":"git@github.com:ldc-developers/ldc.git","clone_url":"https://github.com/ldc-developers/ldc.git","svn_url":"https://github.com/ldc-developers/ldc","homepage":"http://wiki.dlang.org/LDC","size":23393,"stargazers_count":415,"watchers_count":415,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":92,"mirror_url":null,"open_issues_count":149,"forks":92,"open_issues":149,"watchers":415,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ldc-developers/ldc/pulls/1269"},"html":{"href":"https://github.com/ldc-developers/ldc/pull/1269"},"issue":{"href":"https://api.github.com/repos/ldc-developers/ldc/issues/1269"},"comments":{"href":"https://api.github.com/repos/ldc-developers/ldc/issues/1269/comments"},"review_comments":{"href":"https://api.github.com/repos/ldc-developers/ldc/pulls/1269/comments"},"review_comment":{"href":"https://api.github.com/repos/ldc-developers/ldc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ldc-developers/ldc/pulls/1269/commits"},"statuses":{"href":"https://api.github.com/repos/ldc-developers/ldc/statuses/bf31921a872bd37b815de592e35a31430cd1e897"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"redstar","id":827859,"avatar_url":"https://avatars.githubusercontent.com/u/827859?v=3","gravatar_id":"","url":"https://api.github.com/users/redstar","html_url":"https://github.com/redstar","followers_url":"https://api.github.com/users/redstar/followers","following_url":"https://api.github.com/users/redstar/following{/other_user}","gists_url":"https://api.github.com/users/redstar/gists{/gist_id}","starred_url":"https://api.github.com/users/redstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redstar/subscriptions","organizations_url":"https://api.github.com/users/redstar/orgs","repos_url":"https://api.github.com/users/redstar/repos","events_url":"https://api.github.com/users/redstar/events{/privacy}","received_events_url":"https://api.github.com/users/redstar/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":15,"deletions":4,"changed_files":2}}