{"action":"closed","number":74,"pull_request":{"url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/pulls/74","id":52184461,"html_url":"https://github.com/codemix/babel-plugin-typecheck/pull/74","diff_url":"https://github.com/codemix/babel-plugin-typecheck/pull/74.diff","patch_url":"https://github.com/codemix/babel-plugin-typecheck/pull/74.patch","issue_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/issues/74","number":74,"state":"closed","locked":false,"title":"Fix #71 - cannot iterate void","user":{"login":"phpnode","id":363611,"avatar_url":"https://avatars.githubusercontent.com/u/363611?v=3","gravatar_id":"","url":"https://api.github.com/users/phpnode","html_url":"https://github.com/phpnode","followers_url":"https://api.github.com/users/phpnode/followers","following_url":"https://api.github.com/users/phpnode/following{/other_user}","gists_url":"https://api.github.com/users/phpnode/gists{/gist_id}","starred_url":"https://api.github.com/users/phpnode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpnode/subscriptions","organizations_url":"https://api.github.com/users/phpnode/orgs","repos_url":"https://api.github.com/users/phpnode/repos","events_url":"https://api.github.com/users/phpnode/events{/privacy}","received_events_url":"https://api.github.com/users/phpnode/received_events","type":"User","site_admin":false},"body":"This is working around a probable babel type inference issue but it's convoluted enough that I can't pin it down right now. It does seem that when using `babel-register` it's possible for the plugin ordering to be subtly affected, but I can't see any obvious causes for that. This works around the issue raised in #71 by simply skipping the static check if we detect signs of the problem.\r\n\r\nFixes #71 but not in an ideal way.","created_at":"2015-11-30T21:52:28Z","updated_at":"2015-11-30T23:45:06Z","closed_at":"2015-11-30T23:45:06Z","merged_at":"2015-11-30T23:45:06Z","merge_commit_sha":"454fdad0b63cfe66729b648470e2c439ba2abdf5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/pulls/74/commits","review_comments_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/pulls/74/comments","review_comment_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/issues/74/comments","statuses_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/statuses/88e9e570964a807c75fb769ac85e5328d3cf8bd3","head":{"label":"codemix:bug-71-cannot-iterate-void","ref":"bug-71-cannot-iterate-void","sha":"88e9e570964a807c75fb769ac85e5328d3cf8bd3","user":{"login":"codemix","id":4009461,"avatar_url":"https://avatars.githubusercontent.com/u/4009461?v=3","gravatar_id":"","url":"https://api.github.com/users/codemix","html_url":"https://github.com/codemix","followers_url":"https://api.github.com/users/codemix/followers","following_url":"https://api.github.com/users/codemix/following{/other_user}","gists_url":"https://api.github.com/users/codemix/gists{/gist_id}","starred_url":"https://api.github.com/users/codemix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codemix/subscriptions","organizations_url":"https://api.github.com/users/codemix/orgs","repos_url":"https://api.github.com/users/codemix/repos","events_url":"https://api.github.com/users/codemix/events{/privacy}","received_events_url":"https://api.github.com/users/codemix/received_events","type":"Organization","site_admin":false},"repo":{"id":34830404,"name":"babel-plugin-typecheck","full_name":"codemix/babel-plugin-typecheck","owner":{"login":"codemix","id":4009461,"avatar_url":"https://avatars.githubusercontent.com/u/4009461?v=3","gravatar_id":"","url":"https://api.github.com/users/codemix","html_url":"https://github.com/codemix","followers_url":"https://api.github.com/users/codemix/followers","following_url":"https://api.github.com/users/codemix/following{/other_user}","gists_url":"https://api.github.com/users/codemix/gists{/gist_id}","starred_url":"https://api.github.com/users/codemix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codemix/subscriptions","organizations_url":"https://api.github.com/users/codemix/orgs","repos_url":"https://api.github.com/users/codemix/repos","events_url":"https://api.github.com/users/codemix/events{/privacy}","received_events_url":"https://api.github.com/users/codemix/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codemix/babel-plugin-typecheck","description":"Static and runtime type checking for JavaScript in the form of a Babel plugin.","fork":false,"url":"https://api.github.com/repos/codemix/babel-plugin-typecheck","forks_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/forks","keys_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/teams","hooks_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/hooks","issue_events_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/issues/events{/number}","events_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/events","assignees_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/assignees{/user}","branches_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/branches{/branch}","tags_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/tags","blobs_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/git/refs{/sha}","trees_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/statuses/{sha}","languages_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/languages","stargazers_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/stargazers","contributors_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/contributors","subscribers_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/subscribers","subscription_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/subscription","commits_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/commits{/sha}","git_commits_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/git/commits{/sha}","comments_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/comments{/number}","issue_comment_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/issues/comments{/number}","contents_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/contents/{+path}","compare_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/merges","archive_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/downloads","issues_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/issues{/number}","pulls_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/pulls{/number}","milestones_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/milestones{/number}","notifications_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/labels{/name}","releases_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/releases{/id}","created_at":"2015-04-30T02:42:23Z","updated_at":"2015-11-30T22:03:23Z","pushed_at":"2015-11-30T23:45:06Z","git_url":"git://github.com/codemix/babel-plugin-typecheck.git","ssh_url":"git@github.com:codemix/babel-plugin-typecheck.git","clone_url":"https://github.com/codemix/babel-plugin-typecheck.git","svn_url":"https://github.com/codemix/babel-plugin-typecheck","homepage":null,"size":169,"stargazers_count":398,"watchers_count":398,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":4,"forks":12,"open_issues":4,"watchers":398,"default_branch":"master"}},"base":{"label":"codemix:master","ref":"master","sha":"9c4140820cb6fbf4fb93068fb6a737ed93559f87","user":{"login":"codemix","id":4009461,"avatar_url":"https://avatars.githubusercontent.com/u/4009461?v=3","gravatar_id":"","url":"https://api.github.com/users/codemix","html_url":"https://github.com/codemix","followers_url":"https://api.github.com/users/codemix/followers","following_url":"https://api.github.com/users/codemix/following{/other_user}","gists_url":"https://api.github.com/users/codemix/gists{/gist_id}","starred_url":"https://api.github.com/users/codemix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codemix/subscriptions","organizations_url":"https://api.github.com/users/codemix/orgs","repos_url":"https://api.github.com/users/codemix/repos","events_url":"https://api.github.com/users/codemix/events{/privacy}","received_events_url":"https://api.github.com/users/codemix/received_events","type":"Organization","site_admin":false},"repo":{"id":34830404,"name":"babel-plugin-typecheck","full_name":"codemix/babel-plugin-typecheck","owner":{"login":"codemix","id":4009461,"avatar_url":"https://avatars.githubusercontent.com/u/4009461?v=3","gravatar_id":"","url":"https://api.github.com/users/codemix","html_url":"https://github.com/codemix","followers_url":"https://api.github.com/users/codemix/followers","following_url":"https://api.github.com/users/codemix/following{/other_user}","gists_url":"https://api.github.com/users/codemix/gists{/gist_id}","starred_url":"https://api.github.com/users/codemix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codemix/subscriptions","organizations_url":"https://api.github.com/users/codemix/orgs","repos_url":"https://api.github.com/users/codemix/repos","events_url":"https://api.github.com/users/codemix/events{/privacy}","received_events_url":"https://api.github.com/users/codemix/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codemix/babel-plugin-typecheck","description":"Static and runtime type checking for JavaScript in the form of a Babel plugin.","fork":false,"url":"https://api.github.com/repos/codemix/babel-plugin-typecheck","forks_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/forks","keys_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/teams","hooks_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/hooks","issue_events_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/issues/events{/number}","events_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/events","assignees_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/assignees{/user}","branches_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/branches{/branch}","tags_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/tags","blobs_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/git/refs{/sha}","trees_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/statuses/{sha}","languages_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/languages","stargazers_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/stargazers","contributors_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/contributors","subscribers_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/subscribers","subscription_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/subscription","commits_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/commits{/sha}","git_commits_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/git/commits{/sha}","comments_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/comments{/number}","issue_comment_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/issues/comments{/number}","contents_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/contents/{+path}","compare_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/merges","archive_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/downloads","issues_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/issues{/number}","pulls_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/pulls{/number}","milestones_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/milestones{/number}","notifications_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/labels{/name}","releases_url":"https://api.github.com/repos/codemix/babel-plugin-typecheck/releases{/id}","created_at":"2015-04-30T02:42:23Z","updated_at":"2015-11-30T22:03:23Z","pushed_at":"2015-11-30T23:45:06Z","git_url":"git://github.com/codemix/babel-plugin-typecheck.git","ssh_url":"git@github.com:codemix/babel-plugin-typecheck.git","clone_url":"https://github.com/codemix/babel-plugin-typecheck.git","svn_url":"https://github.com/codemix/babel-plugin-typecheck","homepage":null,"size":169,"stargazers_count":398,"watchers_count":398,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":4,"forks":12,"open_issues":4,"watchers":398,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codemix/babel-plugin-typecheck/pulls/74"},"html":{"href":"https://github.com/codemix/babel-plugin-typecheck/pull/74"},"issue":{"href":"https://api.github.com/repos/codemix/babel-plugin-typecheck/issues/74"},"comments":{"href":"https://api.github.com/repos/codemix/babel-plugin-typecheck/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/codemix/babel-plugin-typecheck/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/codemix/babel-plugin-typecheck/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codemix/babel-plugin-typecheck/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/codemix/babel-plugin-typecheck/statuses/88e9e570964a807c75fb769ac85e5328d3cf8bd3"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"phpnode","id":363611,"avatar_url":"https://avatars.githubusercontent.com/u/363611?v=3","gravatar_id":"","url":"https://api.github.com/users/phpnode","html_url":"https://github.com/phpnode","followers_url":"https://api.github.com/users/phpnode/followers","following_url":"https://api.github.com/users/phpnode/following{/other_user}","gists_url":"https://api.github.com/users/phpnode/gists{/gist_id}","starred_url":"https://api.github.com/users/phpnode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpnode/subscriptions","organizations_url":"https://api.github.com/users/phpnode/orgs","repos_url":"https://api.github.com/users/phpnode/repos","events_url":"https://api.github.com/users/phpnode/events{/privacy}","received_events_url":"https://api.github.com/users/phpnode/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":4,"additions":74,"deletions":40,"changed_files":2}}