{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/18623","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/18623/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/18623/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/18623/events","html_url":"https://github.com/JuliaLang/julia/pull/18623","id":178523343,"number":18623,"title":"Improve promotion for constructors...","user":{"login":"mbauman","id":154641,"avatar_url":"https://avatars.githubusercontent.com/u/154641?v=3","gravatar_id":"","url":"https://api.github.com/users/mbauman","html_url":"https://github.com/mbauman","followers_url":"https://api.github.com/users/mbauman/followers","following_url":"https://api.github.com/users/mbauman/following{/other_user}","gists_url":"https://api.github.com/users/mbauman/gists{/gist_id}","starred_url":"https://api.github.com/users/mbauman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbauman/subscriptions","organizations_url":"https://api.github.com/users/mbauman/orgs","repos_url":"https://api.github.com/users/mbauman/repos","events_url":"https://api.github.com/users/mbauman/events{/privacy}","received_events_url":"https://api.github.com/users/mbauman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-22T05:06:15Z","updated_at":"2016-09-22T09:40:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/18623","html_url":"https://github.com/JuliaLang/julia/pull/18623","diff_url":"https://github.com/JuliaLang/julia/pull/18623.diff","patch_url":"https://github.com/JuliaLang/julia/pull/18623.patch"},"body":"by enabling `Type{}` specialization in the `promote_op` methods that request return information from Inference. Notably, this makes constructors behave in exactly the same manner as normal functions... even in cases where that behavior may be controversial:\r\n\r\n```jl\r\njulia> Int.(Number[1,2])\r\n2-element Array{Number,1}:\r\n 1\r\n 2\r\n\r\njulia> (x->Int(x)).(Number[1,2])\r\n2-element Array{Number,1}:\r\n 1\r\n 2\r\n```"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/248855784","html_url":"https://github.com/JuliaLang/julia/pull/18623#issuecomment-248855784","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/18623","id":248855784,"user":{"login":"pabloferz","id":8410335,"avatar_url":"https://avatars.githubusercontent.com/u/8410335?v=3","gravatar_id":"","url":"https://api.github.com/users/pabloferz","html_url":"https://github.com/pabloferz","followers_url":"https://api.github.com/users/pabloferz/followers","following_url":"https://api.github.com/users/pabloferz/following{/other_user}","gists_url":"https://api.github.com/users/pabloferz/gists{/gist_id}","starred_url":"https://api.github.com/users/pabloferz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabloferz/subscriptions","organizations_url":"https://api.github.com/users/pabloferz/orgs","repos_url":"https://api.github.com/users/pabloferz/repos","events_url":"https://api.github.com/users/pabloferz/events{/privacy}","received_events_url":"https://api.github.com/users/pabloferz/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T09:40:50Z","updated_at":"2016-09-22T09:40:50Z","body":"Would you mind if I fix this together with #18622? Fixing the last one involves changing these functions too, so it would avoid some conflicts."}}
{"actor":{"display_login":"pabloferz"}}