{"action":"created","comment":{"url":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/comments/218027914","pull_request_review_id":155872797,"id":218027914,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODAyNzkxNA==","diff_hunk":"@@ -737,12 +743,8 @@ internal class NativeIndexImpl(val library: NativeLibrary) : NativeIndex() {\n                 }\n             }\n \n-            CXIdxEntity_ObjCClass -> {\n-                if (isAvailable(cursor) &&\n-                        cursor.kind != CXCursorKind.CXCursor_ObjCClassRef /* not a forward declaration */) {\n-\n-                    getObjCClassAt(cursor)\n-                }\n+            CXIdxEntity_ObjCClass -> if (cursor.kind != CXCursorKind.CXCursor_ObjCClassRef /* not a forward declaration */) {","path":"Interop/Indexer/src/main/kotlin/org/jetbrains/kotlin/native/interop/indexer/Indexer.kt","position":62,"original_position":62,"commit_id":"7ed1415bd87853ad0035e3ff1c44ca97ae953aba","original_commit_id":"7ed1415bd87853ad0035e3ff1c44ca97ae953aba","user":{"login":"SvyatoslavScherbina","id":22007028,"node_id":"MDQ6VXNlcjIyMDA3MDI4","avatar_url":"https://avatars1.githubusercontent.com/u/22007028?v=4","gravatar_id":"","url":"https://api.github.com/users/SvyatoslavScherbina","html_url":"https://github.com/SvyatoslavScherbina","followers_url":"https://api.github.com/users/SvyatoslavScherbina/followers","following_url":"https://api.github.com/users/SvyatoslavScherbina/following{/other_user}","gists_url":"https://api.github.com/users/SvyatoslavScherbina/gists{/gist_id}","starred_url":"https://api.github.com/users/SvyatoslavScherbina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvyatoslavScherbina/subscriptions","organizations_url":"https://api.github.com/users/SvyatoslavScherbina/orgs","repos_url":"https://api.github.com/users/SvyatoslavScherbina/repos","events_url":"https://api.github.com/users/SvyatoslavScherbina/events{/privacy}","received_events_url":"https://api.github.com/users/SvyatoslavScherbina/received_events","type":"User","site_admin":false},"body":"This is not correct, because cursor can have `CXCursor_ObjCClassRef` kind in different cases.","created_at":"2018-09-17T11:04:27Z","updated_at":"2018-09-17T11:04:27Z","html_url":"https://github.com/JetBrains/kotlin-native/pull/2072#discussion_r218027914","pull_request_url":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/2072","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/comments/218027914"},"html":{"href":"https://github.com/JetBrains/kotlin-native/pull/2072#discussion_r218027914"},"pull_request":{"href":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/2072"}},"in_reply_to_id":218027531},"pull_request":{"url":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/2072","id":215909936,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1OTA5OTM2","html_url":"https://github.com/JetBrains/kotlin-native/pull/2072","diff_url":"https://github.com/JetBrains/kotlin-native/pull/2072.diff","patch_url":"https://github.com/JetBrains/kotlin-native/pull/2072.patch","issue_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/2072","number":2072,"state":"open","locked":false,"title":"Improve interop from Kotlin to `@objc` Swift","user":{"login":"SvyatoslavScherbina","id":22007028,"node_id":"MDQ6VXNlcjIyMDA3MDI4","avatar_url":"https://avatars1.githubusercontent.com/u/22007028?v=4","gravatar_id":"","url":"https://api.github.com/users/SvyatoslavScherbina","html_url":"https://github.com/SvyatoslavScherbina","followers_url":"https://api.github.com/users/SvyatoslavScherbina/followers","following_url":"https://api.github.com/users/SvyatoslavScherbina/following{/other_user}","gists_url":"https://api.github.com/users/SvyatoslavScherbina/gists{/gist_id}","starred_url":"https://api.github.com/users/SvyatoslavScherbina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvyatoslavScherbina/subscriptions","organizations_url":"https://api.github.com/users/SvyatoslavScherbina/orgs","repos_url":"https://api.github.com/users/SvyatoslavScherbina/repos","events_url":"https://api.github.com/users/SvyatoslavScherbina/events{/privacy}","received_events_url":"https://api.github.com/users/SvyatoslavScherbina/received_events","type":"User","site_admin":false},"body":"See https://github.com/JetBrains/kotlin-native/issues/1841#issuecomment-411346727","created_at":"2018-09-17T08:50:12Z","updated_at":"2018-09-17T11:04:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e0a8c78a104145b6f3fdf4b24149cdbfc7d4a14","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/2072/commits","review_comments_url":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/2072/comments","review_comment_url":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/2072/comments","statuses_url":"https://api.github.com/repos/JetBrains/kotlin-native/statuses/7ed1415bd87853ad0035e3ff1c44ca97ae953aba","head":{"label":"JetBrains:fix-interop-to-swift","ref":"fix-interop-to-swift","sha":"7ed1415bd87853ad0035e3ff1c44ca97ae953aba","user":{"login":"JetBrains","id":878437,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg3ODQzNw==","avatar_url":"https://avatars2.githubusercontent.com/u/878437?v=4","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"repo":{"id":58957623,"node_id":"MDEwOlJlcG9zaXRvcnk1ODk1NzYyMw==","name":"kotlin-native","full_name":"JetBrains/kotlin-native","private":false,"owner":{"login":"JetBrains","id":878437,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg3ODQzNw==","avatar_url":"https://avatars2.githubusercontent.com/u/878437?v=4","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/JetBrains/kotlin-native","description":"Kotlin/Native infrastructure","fork":false,"url":"https://api.github.com/repos/JetBrains/kotlin-native","forks_url":"https://api.github.com/repos/JetBrains/kotlin-native/forks","keys_url":"https://api.github.com/repos/JetBrains/kotlin-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JetBrains/kotlin-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JetBrains/kotlin-native/teams","hooks_url":"https://api.github.com/repos/JetBrains/kotlin-native/hooks","issue_events_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/events{/number}","events_url":"https://api.github.com/repos/JetBrains/kotlin-native/events","assignees_url":"https://api.github.com/repos/JetBrains/kotlin-native/assignees{/user}","branches_url":"https://api.github.com/repos/JetBrains/kotlin-native/branches{/branch}","tags_url":"https://api.github.com/repos/JetBrains/kotlin-native/tags","blobs_url":"https://api.github.com/repos/JetBrains/kotlin-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JetBrains/kotlin-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JetBrains/kotlin-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/JetBrains/kotlin-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JetBrains/kotlin-native/statuses/{sha}","languages_url":"https://api.github.com/repos/JetBrains/kotlin-native/languages","stargazers_url":"https://api.github.com/repos/JetBrains/kotlin-native/stargazers","contributors_url":"https://api.github.com/repos/JetBrains/kotlin-native/contributors","subscribers_url":"https://api.github.com/repos/JetBrains/kotlin-native/subscribers","subscription_url":"https://api.github.com/repos/JetBrains/kotlin-native/subscription","commits_url":"https://api.github.com/repos/JetBrains/kotlin-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/JetBrains/kotlin-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/JetBrains/kotlin-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/JetBrains/kotlin-native/contents/{+path}","compare_url":"https://api.github.com/repos/JetBrains/kotlin-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JetBrains/kotlin-native/merges","archive_url":"https://api.github.com/repos/JetBrains/kotlin-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JetBrains/kotlin-native/downloads","issues_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues{/number}","pulls_url":"https://api.github.com/repos/JetBrains/kotlin-native/pulls{/number}","milestones_url":"https://api.github.com/repos/JetBrains/kotlin-native/milestones{/number}","notifications_url":"https://api.github.com/repos/JetBrains/kotlin-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JetBrains/kotlin-native/labels{/name}","releases_url":"https://api.github.com/repos/JetBrains/kotlin-native/releases{/id}","deployments_url":"https://api.github.com/repos/JetBrains/kotlin-native/deployments","created_at":"2016-05-16T18:40:45Z","updated_at":"2018-09-17T08:30:39Z","pushed_at":"2018-09-17T10:57:17Z","git_url":"git://github.com/JetBrains/kotlin-native.git","ssh_url":"git@github.com:JetBrains/kotlin-native.git","clone_url":"https://github.com/JetBrains/kotlin-native.git","svn_url":"https://github.com/JetBrains/kotlin-native","homepage":"","size":71010,"stargazers_count":4771,"watchers_count":4771,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":299,"mirror_url":null,"archived":false,"open_issues_count":102,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":299,"open_issues":102,"watchers":4771,"default_branch":"master"}},"base":{"label":"JetBrains:master","ref":"master","sha":"4f750a26c574bede204638ab941a80a6e1de3788","user":{"login":"JetBrains","id":878437,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg3ODQzNw==","avatar_url":"https://avatars2.githubusercontent.com/u/878437?v=4","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"repo":{"id":58957623,"node_id":"MDEwOlJlcG9zaXRvcnk1ODk1NzYyMw==","name":"kotlin-native","full_name":"JetBrains/kotlin-native","private":false,"owner":{"login":"JetBrains","id":878437,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg3ODQzNw==","avatar_url":"https://avatars2.githubusercontent.com/u/878437?v=4","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/JetBrains/kotlin-native","description":"Kotlin/Native infrastructure","fork":false,"url":"https://api.github.com/repos/JetBrains/kotlin-native","forks_url":"https://api.github.com/repos/JetBrains/kotlin-native/forks","keys_url":"https://api.github.com/repos/JetBrains/kotlin-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JetBrains/kotlin-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JetBrains/kotlin-native/teams","hooks_url":"https://api.github.com/repos/JetBrains/kotlin-native/hooks","issue_events_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/events{/number}","events_url":"https://api.github.com/repos/JetBrains/kotlin-native/events","assignees_url":"https://api.github.com/repos/JetBrains/kotlin-native/assignees{/user}","branches_url":"https://api.github.com/repos/JetBrains/kotlin-native/branches{/branch}","tags_url":"https://api.github.com/repos/JetBrains/kotlin-native/tags","blobs_url":"https://api.github.com/repos/JetBrains/kotlin-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JetBrains/kotlin-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JetBrains/kotlin-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/JetBrains/kotlin-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JetBrains/kotlin-native/statuses/{sha}","languages_url":"https://api.github.com/repos/JetBrains/kotlin-native/languages","stargazers_url":"https://api.github.com/repos/JetBrains/kotlin-native/stargazers","contributors_url":"https://api.github.com/repos/JetBrains/kotlin-native/contributors","subscribers_url":"https://api.github.com/repos/JetBrains/kotlin-native/subscribers","subscription_url":"https://api.github.com/repos/JetBrains/kotlin-native/subscription","commits_url":"https://api.github.com/repos/JetBrains/kotlin-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/JetBrains/kotlin-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/JetBrains/kotlin-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/JetBrains/kotlin-native/contents/{+path}","compare_url":"https://api.github.com/repos/JetBrains/kotlin-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JetBrains/kotlin-native/merges","archive_url":"https://api.github.com/repos/JetBrains/kotlin-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JetBrains/kotlin-native/downloads","issues_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues{/number}","pulls_url":"https://api.github.com/repos/JetBrains/kotlin-native/pulls{/number}","milestones_url":"https://api.github.com/repos/JetBrains/kotlin-native/milestones{/number}","notifications_url":"https://api.github.com/repos/JetBrains/kotlin-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JetBrains/kotlin-native/labels{/name}","releases_url":"https://api.github.com/repos/JetBrains/kotlin-native/releases{/id}","deployments_url":"https://api.github.com/repos/JetBrains/kotlin-native/deployments","created_at":"2016-05-16T18:40:45Z","updated_at":"2018-09-17T08:30:39Z","pushed_at":"2018-09-17T10:57:17Z","git_url":"git://github.com/JetBrains/kotlin-native.git","ssh_url":"git@github.com:JetBrains/kotlin-native.git","clone_url":"https://github.com/JetBrains/kotlin-native.git","svn_url":"https://github.com/JetBrains/kotlin-native","homepage":"","size":71010,"stargazers_count":4771,"watchers_count":4771,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":299,"mirror_url":null,"archived":false,"open_issues_count":102,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":299,"open_issues":102,"watchers":4771,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/2072"},"html":{"href":"https://github.com/JetBrains/kotlin-native/pull/2072"},"issue":{"href":"https://api.github.com/repos/JetBrains/kotlin-native/issues/2072"},"comments":{"href":"https://api.github.com/repos/JetBrains/kotlin-native/issues/2072/comments"},"review_comments":{"href":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/2072/comments"},"review_comment":{"href":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/2072/commits"},"statuses":{"href":"https://api.github.com/repos/JetBrains/kotlin-native/statuses/7ed1415bd87853ad0035e3ff1c44ca97ae953aba"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"SvyatoslavScherbina"}}