{"action":"created","issue":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/2552","repository_url":"https://api.github.com/repos/crystal-lang/crystal","labels_url":"https://api.github.com/repos/crystal-lang/crystal/issues/2552/labels{/name}","comments_url":"https://api.github.com/repos/crystal-lang/crystal/issues/2552/comments","events_url":"https://api.github.com/repos/crystal-lang/crystal/issues/2552/events","html_url":"https://github.com/crystal-lang/crystal/issues/2552","id":153047062,"number":2552,"title":"method overloading by return type","user":{"login":"kostya","id":95060,"avatar_url":"https://avatars.githubusercontent.com/u/95060?v=3","gravatar_id":"","url":"https://api.github.com/users/kostya","html_url":"https://github.com/kostya","followers_url":"https://api.github.com/users/kostya/followers","following_url":"https://api.github.com/users/kostya/following{/other_user}","gists_url":"https://api.github.com/users/kostya/gists{/gist_id}","starred_url":"https://api.github.com/users/kostya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kostya/subscriptions","organizations_url":"https://api.github.com/users/kostya/orgs","repos_url":"https://api.github.com/users/kostya/repos","events_url":"https://api.github.com/users/kostya/events{/privacy}","received_events_url":"https://api.github.com/users/kostya/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/crystal-lang/crystal/labels/compiler","name":"compiler","color":"fef2c0"},{"url":"https://api.github.com/repos/crystal-lang/crystal/labels/draft","name":"draft","color":"00B8B8"},{"url":"https://api.github.com/repos/crystal-lang/crystal/labels/RFC","name":"RFC","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-05-04T15:50:03Z","updated_at":"2016-05-27T19:21:23Z","closed_at":"2016-05-27T19:21:23Z","body":"is it possible to implement in crystal this?\r\n\r\n```crystal\r\ndef bla : String\r\n  \"bla\"\r\nend\r\n\r\ndef bla : Int32\r\n  1\r\nend\r\n\r\na = Array(String).new\r\na << bla\r\n\r\nb = Array(Int32).new\r\nb << bla\r\n```"},"comment":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/comments/222232271","html_url":"https://github.com/crystal-lang/crystal/issues/2552#issuecomment-222232271","issue_url":"https://api.github.com/repos/crystal-lang/crystal/issues/2552","id":222232271,"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},"created_at":"2016-05-27T19:21:23Z","updated_at":"2016-05-27T19:21:23Z","body":"I'm closing this. It's **very** hard to implement, hard to understand, and I even remember @waj complaining about the Swift compiler because it gives some errors that are really hard to understand and they usually arise when the compiler tries to type things in both directions. And because variables don't have an explicit (written) type, it's very hard to fit this into the language."}}
{"actor":{"display_login":"asterite"}}