{"action":"closed","issue":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/3304","repository_url":"https://api.github.com/repos/crystal-lang/crystal","labels_url":"https://api.github.com/repos/crystal-lang/crystal/issues/3304/labels{/name}","comments_url":"https://api.github.com/repos/crystal-lang/crystal/issues/3304/comments","events_url":"https://api.github.com/repos/crystal-lang/crystal/issues/3304/events","html_url":"https://github.com/crystal-lang/crystal/issues/3304","id":176884924,"number":3304,"title":"Casting type to itself, when there are subclasses, crashes the compiler","user":{"login":"asterite","id":209371,"avatar_url":"https://avatars.githubusercontent.com/u/209371?v=3","gravatar_id":"","url":"https://api.github.com/users/asterite","html_url":"https://github.com/asterite","followers_url":"https://api.github.com/users/asterite/followers","following_url":"https://api.github.com/users/asterite/following{/other_user}","gists_url":"https://api.github.com/users/asterite/gists{/gist_id}","starred_url":"https://api.github.com/users/asterite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asterite/subscriptions","organizations_url":"https://api.github.com/users/asterite/orgs","repos_url":"https://api.github.com/users/asterite/repos","events_url":"https://api.github.com/users/asterite/events{/privacy}","received_events_url":"https://api.github.com/users/asterite/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/crystal-lang/crystal/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/crystal-lang/crystal/labels/compiler","name":"compiler","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/crystal-lang/crystal/milestones/10","html_url":"https://github.com/crystal-lang/crystal/milestones/0.19.2","labels_url":"https://api.github.com/repos/crystal-lang/crystal/milestones/10/labels","id":1995392,"number":10,"title":"0.19.2","description":"","creator":{"login":"asterite","id":209371,"avatar_url":"https://avatars.githubusercontent.com/u/209371?v=3","gravatar_id":"","url":"https://api.github.com/users/asterite","html_url":"https://github.com/asterite","followers_url":"https://api.github.com/users/asterite/followers","following_url":"https://api.github.com/users/asterite/following{/other_user}","gists_url":"https://api.github.com/users/asterite/gists{/gist_id}","starred_url":"https://api.github.com/users/asterite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asterite/subscriptions","organizations_url":"https://api.github.com/users/asterite/orgs","repos_url":"https://api.github.com/users/asterite/repos","events_url":"https://api.github.com/users/asterite/events{/privacy}","received_events_url":"https://api.github.com/users/asterite/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":12,"state":"open","created_at":"2016-09-10T13:33:12Z","updated_at":"2016-09-14T12:58:35Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-09-14T11:40:35Z","updated_at":"2016-09-14T12:58:35Z","closed_at":"2016-09-14T12:58:35Z","body":"```cr\r\nclass Foo\r\nend\r\n\r\nclass Bar < Foo\r\nend\r\n\r\nFoo.new.as(Foo)\r\n```\r\n\r\nGot from https://github.com/crystal-lang/shards/issues/120"}}
{"actor":{"display_login":"asterite"}}