{"action":"created","comment":{"url":"https://api.github.com/repos/D-Programming-GDC/GDC/pulls/comments/30323021","id":30323021,"diff_hunk":"@@ -4082,6 +4082,12 @@ Expression *ArrayLiteralExp::semantic(Scope *sc)\n         return new ErrorExp();\n     }\n \n+    if (global.params.noTypeinfo && elements->dim != 0)\n+    {\n+        error (global.params.noTypeinfo, \"Can't use array literal\");","path":"gcc/d/dfrontend/expression.c","position":6,"original_position":6,"commit_id":"902bbc6a2ba20d6edefa30a0600eca7f6066dc34","original_commit_id":"902bbc6a2ba20d6edefa30a0600eca7f6066dc34","user":{"login":"jpf91","id":583238,"avatar_url":"https://avatars.githubusercontent.com/u/583238?v=3","gravatar_id":"","url":"https://api.github.com/users/jpf91","html_url":"https://github.com/jpf91","followers_url":"https://api.github.com/users/jpf91/followers","following_url":"https://api.github.com/users/jpf91/following{/other_user}","gists_url":"https://api.github.com/users/jpf91/gists{/gist_id}","starred_url":"https://api.github.com/users/jpf91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpf91/subscriptions","organizations_url":"https://api.github.com/users/jpf91/orgs","repos_url":"https://api.github.com/users/jpf91/repos","events_url":"https://api.github.com/users/jpf91/events{/privacy}","received_events_url":"https://api.github.com/users/jpf91/received_events","type":"User","site_admin":false},"body":"Just tried to make this a visitor like nogc. However,  when the visitor code runs `Type::getTypeInfo` has already been called. If I return an `ErrorExp` from `getTypeInfo` the visitor only gets an `ErrorExp` and I can't give proper error messages. Is there any good solution for this?","created_at":"2015-05-14T14:04:45Z","updated_at":"2015-05-14T14:04:45Z","html_url":"https://github.com/D-Programming-GDC/GDC/pull/100#discussion_r30323021","pull_request_url":"https://api.github.com/repos/D-Programming-GDC/GDC/pulls/100","_links":{"self":{"href":"https://api.github.com/repos/D-Programming-GDC/GDC/pulls/comments/30323021"},"html":{"href":"https://github.com/D-Programming-GDC/GDC/pull/100#discussion_r30323021"},"pull_request":{"href":"https://api.github.com/repos/D-Programming-GDC/GDC/pulls/100"}}},"pull_request":{"url":"https://api.github.com/repos/D-Programming-GDC/GDC/pulls/100","id":35085793,"html_url":"https://github.com/D-Programming-GDC/GDC/pull/100","diff_url":"https://github.com/D-Programming-GDC/GDC/pull/100.diff","patch_url":"https://github.com/D-Programming-GDC/GDC/pull/100.patch","issue_url":"https://api.github.com/repos/D-Programming-GDC/GDC/issues/100","number":100,"state":"open","locked":false,"title":"Implement -fno-rtti","user":{"login":"jpf91","id":583238,"avatar_url":"https://avatars.githubusercontent.com/u/583238?v=3","gravatar_id":"","url":"https://api.github.com/users/jpf91","html_url":"https://github.com/jpf91","followers_url":"https://api.github.com/users/jpf91/followers","following_url":"https://api.github.com/users/jpf91/following{/other_user}","gists_url":"https://api.github.com/users/jpf91/gists{/gist_id}","starred_url":"https://api.github.com/users/jpf91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpf91/subscriptions","organizations_url":"https://api.github.com/users/jpf91/orgs","repos_url":"https://api.github.com/users/jpf91/repos","events_url":"https://api.github.com/users/jpf91/events{/privacy}","received_events_url":"https://api.github.com/users/jpf91/received_events","type":"User","site_admin":false},"body":"Ready for review. I'll have to check the changes in `d-todt.cc` again, I'm not sure how TypeInfo is used there. The changes in `d-objfile.cc` are 90% indentation changes. The frontend part needs to be pulled into dmd first. This pull request is mostly for early testing & feedback.\r\n\r\nEasier to read diff by ignoring whitespace changes: https://github.com/D-Programming-GDC/GDC/pull/100/files?w=1\r\n\r\nMinimal object.d / runtime:\r\n```d\r\nmodule object;\r\n\r\nclass Object\r\n{\r\n}\r\n```\r\n\r\nUsage: `/opt/gdc/bin/gdc -nophoboslib -fno-rtti -fno-emit-moduleinfo -fno-invariants test.d`","created_at":"2015-05-10T17:34:03Z","updated_at":"2015-05-14T14:04:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bac5590e934d1ef58e41d38ab8e8d40d3b13d40f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/D-Programming-GDC/GDC/pulls/100/commits","review_comments_url":"https://api.github.com/repos/D-Programming-GDC/GDC/pulls/100/comments","review_comment_url":"https://api.github.com/repos/D-Programming-GDC/GDC/pulls/comments{/number}","comments_url":"https://api.github.com/repos/D-Programming-GDC/GDC/issues/100/comments","statuses_url":"https://api.github.com/repos/D-Programming-GDC/GDC/statuses/902bbc6a2ba20d6edefa30a0600eca7f6066dc34","head":{"label":"jpf91:noRTTI","ref":"noRTTI","sha":"902bbc6a2ba20d6edefa30a0600eca7f6066dc34","user":{"login":"jpf91","id":583238,"avatar_url":"https://avatars.githubusercontent.com/u/583238?v=3","gravatar_id":"","url":"https://api.github.com/users/jpf91","html_url":"https://github.com/jpf91","followers_url":"https://api.github.com/users/jpf91/followers","following_url":"https://api.github.com/users/jpf91/following{/other_user}","gists_url":"https://api.github.com/users/jpf91/gists{/gist_id}","starred_url":"https://api.github.com/users/jpf91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpf91/subscriptions","organizations_url":"https://api.github.com/users/jpf91/orgs","repos_url":"https://api.github.com/users/jpf91/repos","events_url":"https://api.github.com/users/jpf91/events{/privacy}","received_events_url":"https://api.github.com/users/jpf91/received_events","type":"User","site_admin":false},"repo":{"id":3774467,"name":"GDC","full_name":"jpf91/GDC","owner":{"login":"jpf91","id":583238,"avatar_url":"https://avatars.githubusercontent.com/u/583238?v=3","gravatar_id":"","url":"https://api.github.com/users/jpf91","html_url":"https://github.com/jpf91","followers_url":"https://api.github.com/users/jpf91/followers","following_url":"https://api.github.com/users/jpf91/following{/other_user}","gists_url":"https://api.github.com/users/jpf91/gists{/gist_id}","starred_url":"https://api.github.com/users/jpf91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpf91/subscriptions","organizations_url":"https://api.github.com/users/jpf91/orgs","repos_url":"https://api.github.com/users/jpf91/repos","events_url":"https://api.github.com/users/jpf91/events{/privacy}","received_events_url":"https://api.github.com/users/jpf91/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jpf91/GDC","description":"Gnu D Compiler","fork":true,"url":"https://api.github.com/repos/jpf91/GDC","forks_url":"https://api.github.com/repos/jpf91/GDC/forks","keys_url":"https://api.github.com/repos/jpf91/GDC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jpf91/GDC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jpf91/GDC/teams","hooks_url":"https://api.github.com/repos/jpf91/GDC/hooks","issue_events_url":"https://api.github.com/repos/jpf91/GDC/issues/events{/number}","events_url":"https://api.github.com/repos/jpf91/GDC/events","assignees_url":"https://api.github.com/repos/jpf91/GDC/assignees{/user}","branches_url":"https://api.github.com/repos/jpf91/GDC/branches{/branch}","tags_url":"https://api.github.com/repos/jpf91/GDC/tags","blobs_url":"https://api.github.com/repos/jpf91/GDC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jpf91/GDC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jpf91/GDC/git/refs{/sha}","trees_url":"https://api.github.com/repos/jpf91/GDC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jpf91/GDC/statuses/{sha}","languages_url":"https://api.github.com/repos/jpf91/GDC/languages","stargazers_url":"https://api.github.com/repos/jpf91/GDC/stargazers","contributors_url":"https://api.github.com/repos/jpf91/GDC/contributors","subscribers_url":"https://api.github.com/repos/jpf91/GDC/subscribers","subscription_url":"https://api.github.com/repos/jpf91/GDC/subscription","commits_url":"https://api.github.com/repos/jpf91/GDC/commits{/sha}","git_commits_url":"https://api.github.com/repos/jpf91/GDC/git/commits{/sha}","comments_url":"https://api.github.com/repos/jpf91/GDC/comments{/number}","issue_comment_url":"https://api.github.com/repos/jpf91/GDC/issues/comments{/number}","contents_url":"https://api.github.com/repos/jpf91/GDC/contents/{+path}","compare_url":"https://api.github.com/repos/jpf91/GDC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jpf91/GDC/merges","archive_url":"https://api.github.com/repos/jpf91/GDC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jpf91/GDC/downloads","issues_url":"https://api.github.com/repos/jpf91/GDC/issues{/number}","pulls_url":"https://api.github.com/repos/jpf91/GDC/pulls{/number}","milestones_url":"https://api.github.com/repos/jpf91/GDC/milestones{/number}","notifications_url":"https://api.github.com/repos/jpf91/GDC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jpf91/GDC/labels{/name}","releases_url":"https://api.github.com/repos/jpf91/GDC/releases{/id}","created_at":"2012-03-20T11:30:33Z","updated_at":"2014-10-04T18:24:42Z","pushed_at":"2015-05-10T15:42:07Z","git_url":"git://github.com/jpf91/GDC.git","ssh_url":"git@github.com:jpf91/GDC.git","clone_url":"https://github.com/jpf91/GDC.git","svn_url":"https://github.com/jpf91/GDC","homepage":"","size":83917,"stargazers_count":3,"watchers_count":3,"language":"D","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":3,"default_branch":"master"}},"base":{"label":"D-Programming-GDC:master","ref":"master","sha":"e9bfc0332e42d01402aeb2063d38fc5ea4e12fea","user":{"login":"D-Programming-GDC","id":1551040,"avatar_url":"https://avatars.githubusercontent.com/u/1551040?v=3","gravatar_id":"","url":"https://api.github.com/users/D-Programming-GDC","html_url":"https://github.com/D-Programming-GDC","followers_url":"https://api.github.com/users/D-Programming-GDC/followers","following_url":"https://api.github.com/users/D-Programming-GDC/following{/other_user}","gists_url":"https://api.github.com/users/D-Programming-GDC/gists{/gist_id}","starred_url":"https://api.github.com/users/D-Programming-GDC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D-Programming-GDC/subscriptions","organizations_url":"https://api.github.com/users/D-Programming-GDC/orgs","repos_url":"https://api.github.com/users/D-Programming-GDC/repos","events_url":"https://api.github.com/users/D-Programming-GDC/events{/privacy}","received_events_url":"https://api.github.com/users/D-Programming-GDC/received_events","type":"Organization","site_admin":false},"repo":{"id":3759178,"name":"GDC","full_name":"D-Programming-GDC/GDC","owner":{"login":"D-Programming-GDC","id":1551040,"avatar_url":"https://avatars.githubusercontent.com/u/1551040?v=3","gravatar_id":"","url":"https://api.github.com/users/D-Programming-GDC","html_url":"https://github.com/D-Programming-GDC","followers_url":"https://api.github.com/users/D-Programming-GDC/followers","following_url":"https://api.github.com/users/D-Programming-GDC/following{/other_user}","gists_url":"https://api.github.com/users/D-Programming-GDC/gists{/gist_id}","starred_url":"https://api.github.com/users/D-Programming-GDC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D-Programming-GDC/subscriptions","organizations_url":"https://api.github.com/users/D-Programming-GDC/orgs","repos_url":"https://api.github.com/users/D-Programming-GDC/repos","events_url":"https://api.github.com/users/D-Programming-GDC/events{/privacy}","received_events_url":"https://api.github.com/users/D-Programming-GDC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/D-Programming-GDC/GDC","description":"GNU D Compiler","fork":false,"url":"https://api.github.com/repos/D-Programming-GDC/GDC","forks_url":"https://api.github.com/repos/D-Programming-GDC/GDC/forks","keys_url":"https://api.github.com/repos/D-Programming-GDC/GDC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/D-Programming-GDC/GDC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/D-Programming-GDC/GDC/teams","hooks_url":"https://api.github.com/repos/D-Programming-GDC/GDC/hooks","issue_events_url":"https://api.github.com/repos/D-Programming-GDC/GDC/issues/events{/number}","events_url":"https://api.github.com/repos/D-Programming-GDC/GDC/events","assignees_url":"https://api.github.com/repos/D-Programming-GDC/GDC/assignees{/user}","branches_url":"https://api.github.com/repos/D-Programming-GDC/GDC/branches{/branch}","tags_url":"https://api.github.com/repos/D-Programming-GDC/GDC/tags","blobs_url":"https://api.github.com/repos/D-Programming-GDC/GDC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/D-Programming-GDC/GDC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/D-Programming-GDC/GDC/git/refs{/sha}","trees_url":"https://api.github.com/repos/D-Programming-GDC/GDC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/D-Programming-GDC/GDC/statuses/{sha}","languages_url":"https://api.github.com/repos/D-Programming-GDC/GDC/languages","stargazers_url":"https://api.github.com/repos/D-Programming-GDC/GDC/stargazers","contributors_url":"https://api.github.com/repos/D-Programming-GDC/GDC/contributors","subscribers_url":"https://api.github.com/repos/D-Programming-GDC/GDC/subscribers","subscription_url":"https://api.github.com/repos/D-Programming-GDC/GDC/subscription","commits_url":"https://api.github.com/repos/D-Programming-GDC/GDC/commits{/sha}","git_commits_url":"https://api.github.com/repos/D-Programming-GDC/GDC/git/commits{/sha}","comments_url":"https://api.github.com/repos/D-Programming-GDC/GDC/comments{/number}","issue_comment_url":"https://api.github.com/repos/D-Programming-GDC/GDC/issues/comments{/number}","contents_url":"https://api.github.com/repos/D-Programming-GDC/GDC/contents/{+path}","compare_url":"https://api.github.com/repos/D-Programming-GDC/GDC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/D-Programming-GDC/GDC/merges","archive_url":"https://api.github.com/repos/D-Programming-GDC/GDC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/D-Programming-GDC/GDC/downloads","issues_url":"https://api.github.com/repos/D-Programming-GDC/GDC/issues{/number}","pulls_url":"https://api.github.com/repos/D-Programming-GDC/GDC/pulls{/number}","milestones_url":"https://api.github.com/repos/D-Programming-GDC/GDC/milestones{/number}","notifications_url":"https://api.github.com/repos/D-Programming-GDC/GDC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/D-Programming-GDC/GDC/labels{/name}","releases_url":"https://api.github.com/repos/D-Programming-GDC/GDC/releases{/id}","created_at":"2012-03-19T00:16:44Z","updated_at":"2015-05-11T17:09:13Z","pushed_at":"2015-05-10T17:34:04Z","git_url":"git://github.com/D-Programming-GDC/GDC.git","ssh_url":"git@github.com:D-Programming-GDC/GDC.git","clone_url":"https://github.com/D-Programming-GDC/GDC.git","svn_url":"https://github.com/D-Programming-GDC/GDC","homepage":"http://gdcproject.org","size":87716,"stargazers_count":222,"watchers_count":222,"language":"D","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":5,"forks":41,"open_issues":5,"watchers":222,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/D-Programming-GDC/GDC/pulls/100"},"html":{"href":"https://github.com/D-Programming-GDC/GDC/pull/100"},"issue":{"href":"https://api.github.com/repos/D-Programming-GDC/GDC/issues/100"},"comments":{"href":"https://api.github.com/repos/D-Programming-GDC/GDC/issues/100/comments"},"review_comments":{"href":"https://api.github.com/repos/D-Programming-GDC/GDC/pulls/100/comments"},"review_comment":{"href":"https://api.github.com/repos/D-Programming-GDC/GDC/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/D-Programming-GDC/GDC/pulls/100/commits"},"statuses":{"href":"https://api.github.com/repos/D-Programming-GDC/GDC/statuses/902bbc6a2ba20d6edefa30a0600eca7f6066dc34"}}}}