{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/23599","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/23599/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/23599/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/23599/events","html_url":"https://github.com/JuliaLang/julia/issues/23599","id":255477428,"number":23599,"title":"Syntax ambiguity when range is used in ternary operator","user":{"login":"AzamatB","id":3909074,"avatar_url":"https://avatars3.githubusercontent.com/u/3909074?v=4","gravatar_id":"","url":"https://api.github.com/users/AzamatB","html_url":"https://github.com/AzamatB","followers_url":"https://api.github.com/users/AzamatB/followers","following_url":"https://api.github.com/users/AzamatB/following{/other_user}","gists_url":"https://api.github.com/users/AzamatB/gists{/gist_id}","starred_url":"https://api.github.com/users/AzamatB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AzamatB/subscriptions","organizations_url":"https://api.github.com/users/AzamatB/orgs","repos_url":"https://api.github.com/users/AzamatB/repos","events_url":"https://api.github.com/users/AzamatB/events{/privacy}","received_events_url":"https://api.github.com/users/AzamatB/received_events","type":"User","site_admin":false},"labels":[{"id":163368715,"url":"https://api.github.com/repos/JuliaLang/julia/labels/parser","name":"parser","color":"bfdadc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-09-06T04:31:35Z","updated_at":"2017-09-06T04:56:41Z","closed_at":"2017-09-06T04:41:37Z","author_association":"NONE","body":"The following code produces unexpected output:\r\n``` Julia\r\njulia> true ? 1:3 : 4:7\r\n1\r\n```\r\nof course, it can be fixed by adding braces:\r\n``` Julia\r\njulia> true ? (1:3) : (4:7)\r\n1:3\r\n```\r\nHowever, I still think it should be deprecated for the same reason that\r\n1.+2 [was deprecated](https://github.com/JuliaLang/julia/issues/19089). Especially, in light of the fact that it produces erroneous output."},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/327374551","html_url":"https://github.com/JuliaLang/julia/issues/23599#issuecomment-327374551","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/23599","id":327374551,"user":{"login":"AzamatB","id":3909074,"avatar_url":"https://avatars3.githubusercontent.com/u/3909074?v=4","gravatar_id":"","url":"https://api.github.com/users/AzamatB","html_url":"https://github.com/AzamatB","followers_url":"https://api.github.com/users/AzamatB/followers","following_url":"https://api.github.com/users/AzamatB/following{/other_user}","gists_url":"https://api.github.com/users/AzamatB/gists{/gist_id}","starred_url":"https://api.github.com/users/AzamatB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AzamatB/subscriptions","organizations_url":"https://api.github.com/users/AzamatB/orgs","repos_url":"https://api.github.com/users/AzamatB/repos","events_url":"https://api.github.com/users/AzamatB/events{/privacy}","received_events_url":"https://api.github.com/users/AzamatB/received_events","type":"User","site_admin":false},"created_at":"2017-09-06T04:56:41Z","updated_at":"2017-09-06T04:56:41Z","author_association":"NONE","body":"Can you confirm that these warnings don't show up in 0.6?"}}
{"actor":{"display_login":"AzamatB"}}