{"action":"opened","issue":{"url":"https://api.github.com/repos/manastech/crystal/issues/1451","labels_url":"https://api.github.com/repos/manastech/crystal/issues/1451/labels{/name}","comments_url":"https://api.github.com/repos/manastech/crystal/issues/1451/comments","events_url":"https://api.github.com/repos/manastech/crystal/issues/1451/events","html_url":"https://github.com/manastech/crystal/issues/1451","id":106120290,"number":1451,"title":"Bug: responds_to? && responds_to? dose not works","user":{"login":"MakeNowJust","id":6679325,"avatar_url":"https://avatars.githubusercontent.com/u/6679325?v=3","gravatar_id":"","url":"https://api.github.com/users/MakeNowJust","html_url":"https://github.com/MakeNowJust","followers_url":"https://api.github.com/users/MakeNowJust/followers","following_url":"https://api.github.com/users/MakeNowJust/following{/other_user}","gists_url":"https://api.github.com/users/MakeNowJust/gists{/gist_id}","starred_url":"https://api.github.com/users/MakeNowJust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MakeNowJust/subscriptions","organizations_url":"https://api.github.com/users/MakeNowJust/orgs","repos_url":"https://api.github.com/users/MakeNowJust/repos","events_url":"https://api.github.com/users/MakeNowJust/events{/privacy}","received_events_url":"https://api.github.com/users/MakeNowJust/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-12T01:28:57Z","updated_at":"2015-09-12T01:28:57Z","closed_at":null,"body":"http://carc.in/#/r/ez2\r\n\r\n```crystal\r\ni = 2\r\nfoo =  i == 1 ? {\"bar\": true} : false\r\n\r\nif foo.responds_to?(:has_key?) && foo.responds_to?(:[]?)\r\n  p foo[\"bar\"]?\r\nelse\r\n  p foo\r\nend\r\n```\r\n\r\nThis program raises SEGV error in fact."}}