{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/pulls/1","id":136658490,"html_url":"https://github.com/PacktPublishing/Programming-Kotlin/pull/1","diff_url":"https://github.com/PacktPublishing/Programming-Kotlin/pull/1.diff","patch_url":"https://github.com/PacktPublishing/Programming-Kotlin/pull/1.patch","issue_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/issues/1","number":1,"state":"open","locked":false,"title":"Fix opearator as","user":{"login":"nijkanada","id":29963163,"avatar_url":"https://avatars0.githubusercontent.com/u/29963163?v=4","gravatar_id":"","url":"https://api.github.com/users/nijkanada","html_url":"https://github.com/nijkanada","followers_url":"https://api.github.com/users/nijkanada/followers","following_url":"https://api.github.com/users/nijkanada/following{/other_user}","gists_url":"https://api.github.com/users/nijkanada/gists{/gist_id}","starred_url":"https://api.github.com/users/nijkanada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijkanada/subscriptions","organizations_url":"https://api.github.com/users/nijkanada/orgs","repos_url":"https://api.github.com/users/nijkanada/repos","events_url":"https://api.github.com/users/nijkanada/events{/privacy}","received_events_url":"https://api.github.com/users/nijkanada/received_events","type":"User","site_admin":false},"body":"Page 49, line 4...\r\n\r\n```\r\nIn the next example, string would be a successful cast, but file would be null\r\n```\r\n\r\nSo,\r\n\r\n```kotlin\r\nval file: File? = any as File\r\n```\r\nshould be\r\n```kotlin\r\nval file: File? = any as? File\r\n```","created_at":"2017-08-20T21:11:09Z","updated_at":"2017-08-20T21:11:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/pulls/1/commits","review_comments_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/pulls/1/comments","review_comment_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/issues/1/comments","statuses_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/statuses/8241499a36a327f0edf36f3d10fdd56e48e6932d","head":{"label":"nijkanada:master","ref":"master","sha":"8241499a36a327f0edf36f3d10fdd56e48e6932d","user":{"login":"nijkanada","id":29963163,"avatar_url":"https://avatars0.githubusercontent.com/u/29963163?v=4","gravatar_id":"","url":"https://api.github.com/users/nijkanada","html_url":"https://github.com/nijkanada","followers_url":"https://api.github.com/users/nijkanada/followers","following_url":"https://api.github.com/users/nijkanada/following{/other_user}","gists_url":"https://api.github.com/users/nijkanada/gists{/gist_id}","starred_url":"https://api.github.com/users/nijkanada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijkanada/subscriptions","organizations_url":"https://api.github.com/users/nijkanada/orgs","repos_url":"https://api.github.com/users/nijkanada/repos","events_url":"https://api.github.com/users/nijkanada/events{/privacy}","received_events_url":"https://api.github.com/users/nijkanada/received_events","type":"User","site_admin":false},"repo":{"id":100888480,"name":"Programming-Kotlin","full_name":"nijkanada/Programming-Kotlin","owner":{"login":"nijkanada","id":29963163,"avatar_url":"https://avatars0.githubusercontent.com/u/29963163?v=4","gravatar_id":"","url":"https://api.github.com/users/nijkanada","html_url":"https://github.com/nijkanada","followers_url":"https://api.github.com/users/nijkanada/followers","following_url":"https://api.github.com/users/nijkanada/following{/other_user}","gists_url":"https://api.github.com/users/nijkanada/gists{/gist_id}","starred_url":"https://api.github.com/users/nijkanada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijkanada/subscriptions","organizations_url":"https://api.github.com/users/nijkanada/orgs","repos_url":"https://api.github.com/users/nijkanada/repos","events_url":"https://api.github.com/users/nijkanada/events{/privacy}","received_events_url":"https://api.github.com/users/nijkanada/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nijkanada/Programming-Kotlin","description":"Code repository for Programming Kotlin, published by Packt","fork":true,"url":"https://api.github.com/repos/nijkanada/Programming-Kotlin","forks_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/forks","keys_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/teams","hooks_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/hooks","issue_events_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/issues/events{/number}","events_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/events","assignees_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/assignees{/user}","branches_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/branches{/branch}","tags_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/tags","blobs_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/git/refs{/sha}","trees_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/statuses/{sha}","languages_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/languages","stargazers_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/stargazers","contributors_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/contributors","subscribers_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/subscribers","subscription_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/subscription","commits_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/commits{/sha}","git_commits_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/git/commits{/sha}","comments_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/comments{/number}","issue_comment_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/issues/comments{/number}","contents_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/contents/{+path}","compare_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/merges","archive_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/downloads","issues_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/issues{/number}","pulls_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/pulls{/number}","milestones_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/milestones{/number}","notifications_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/labels{/name}","releases_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/releases{/id}","deployments_url":"https://api.github.com/repos/nijkanada/Programming-Kotlin/deployments","created_at":"2017-08-20T20:59:04Z","updated_at":"2017-08-20T20:59:06Z","pushed_at":"2017-08-20T21:07:35Z","git_url":"git://github.com/nijkanada/Programming-Kotlin.git","ssh_url":"git@github.com:nijkanada/Programming-Kotlin.git","clone_url":"https://github.com/nijkanada/Programming-Kotlin.git","svn_url":"https://github.com/nijkanada/Programming-Kotlin","homepage":"","size":111,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":false,"has_projects":true,"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":0,"default_branch":"master"}},"base":{"label":"PacktPublishing:master","ref":"master","sha":"753c5b6aa0bf5cc6a1cc5537c21e49c63fed0f56","user":{"login":"PacktPublishing","id":10974906,"avatar_url":"https://avatars1.githubusercontent.com/u/10974906?v=4","gravatar_id":"","url":"https://api.github.com/users/PacktPublishing","html_url":"https://github.com/PacktPublishing","followers_url":"https://api.github.com/users/PacktPublishing/followers","following_url":"https://api.github.com/users/PacktPublishing/following{/other_user}","gists_url":"https://api.github.com/users/PacktPublishing/gists{/gist_id}","starred_url":"https://api.github.com/users/PacktPublishing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PacktPublishing/subscriptions","organizations_url":"https://api.github.com/users/PacktPublishing/orgs","repos_url":"https://api.github.com/users/PacktPublishing/repos","events_url":"https://api.github.com/users/PacktPublishing/events{/privacy}","received_events_url":"https://api.github.com/users/PacktPublishing/received_events","type":"Organization","site_admin":false},"repo":{"id":78835440,"name":"Programming-Kotlin","full_name":"PacktPublishing/Programming-Kotlin","owner":{"login":"PacktPublishing","id":10974906,"avatar_url":"https://avatars1.githubusercontent.com/u/10974906?v=4","gravatar_id":"","url":"https://api.github.com/users/PacktPublishing","html_url":"https://github.com/PacktPublishing","followers_url":"https://api.github.com/users/PacktPublishing/followers","following_url":"https://api.github.com/users/PacktPublishing/following{/other_user}","gists_url":"https://api.github.com/users/PacktPublishing/gists{/gist_id}","starred_url":"https://api.github.com/users/PacktPublishing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PacktPublishing/subscriptions","organizations_url":"https://api.github.com/users/PacktPublishing/orgs","repos_url":"https://api.github.com/users/PacktPublishing/repos","events_url":"https://api.github.com/users/PacktPublishing/events{/privacy}","received_events_url":"https://api.github.com/users/PacktPublishing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PacktPublishing/Programming-Kotlin","description":"Code repository for Programming Kotlin, published by Packt","fork":false,"url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin","forks_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/forks","keys_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/teams","hooks_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/hooks","issue_events_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/issues/events{/number}","events_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/events","assignees_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/assignees{/user}","branches_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/branches{/branch}","tags_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/tags","blobs_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/git/refs{/sha}","trees_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/statuses/{sha}","languages_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/languages","stargazers_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/stargazers","contributors_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/contributors","subscribers_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/subscribers","subscription_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/subscription","commits_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/commits{/sha}","git_commits_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/git/commits{/sha}","comments_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/comments{/number}","issue_comment_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/issues/comments{/number}","contents_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/contents/{+path}","compare_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/merges","archive_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/downloads","issues_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/issues{/number}","pulls_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/pulls{/number}","milestones_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/milestones{/number}","notifications_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/labels{/name}","releases_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/releases{/id}","deployments_url":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/deployments","created_at":"2017-01-13T09:34:56Z","updated_at":"2017-08-20T09:42:46Z","pushed_at":"2017-02-06T11:00:11Z","git_url":"git://github.com/PacktPublishing/Programming-Kotlin.git","ssh_url":"git@github.com:PacktPublishing/Programming-Kotlin.git","clone_url":"https://github.com/PacktPublishing/Programming-Kotlin.git","svn_url":"https://github.com/PacktPublishing/Programming-Kotlin","homepage":"","size":111,"stargazers_count":21,"watchers_count":21,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/pulls/1"},"html":{"href":"https://github.com/PacktPublishing/Programming-Kotlin/pull/1"},"issue":{"href":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/issues/1"},"comments":{"href":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/PacktPublishing/Programming-Kotlin/statuses/8241499a36a327f0edf36f3d10fdd56e48e6932d"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"nijkanada"}}