{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/12324","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/12324/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/12324/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/12324/events","html_url":"https://github.com/JuliaLang/julia/issues/12324","id":97424119,"number":12324,"title":"1 < 2 |> foo gives a syntax error","user":{"login":"shashi","id":25916,"avatar_url":"https://avatars.githubusercontent.com/u/25916?v=3","gravatar_id":"","url":"https://api.github.com/users/shashi","html_url":"https://github.com/shashi","followers_url":"https://api.github.com/users/shashi/followers","following_url":"https://api.github.com/users/shashi/following{/other_user}","gists_url":"https://api.github.com/users/shashi/gists{/gist_id}","starred_url":"https://api.github.com/users/shashi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shashi/subscriptions","organizations_url":"https://api.github.com/users/shashi/orgs","repos_url":"https://api.github.com/users/shashi/repos","events_url":"https://api.github.com/users/shashi/events{/privacy}","received_events_url":"https://api.github.com/users/shashi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-27T09:38:00Z","updated_at":"2015-07-27T09:58:20Z","closed_at":"2015-07-27T09:58:20Z","body":"```julia\r\nfoo(x) = x\r\n1 < 2 |> foo\r\n```\r\nReturns `true` on 0.3.8, but results in `ERROR: syntax: extra token \"|>\" after end of expression` on v0.3.10 and on master.\r\n\r\nHowever\r\n```julia\r\n1 + 2 |> foo\r\n```\r\nworks everywhere (returns 3). My impulse is to classify 1 + 2 and 1 < 2 both as  \"binary operations\" and assume they both work the same way when pit against a pipe operator. I'd like to fix my understanding if that's the problem.\r\n\r\nthe precedence rule for this seems to have existed ever since 432780b70a58928454dabf01f5a06d430367e1dc but I could not track down where the behavior changed.\r\n\r\nwhat's fishy is that `git diff v0.3.8..v0.3.10 -- src/julia-parser.scm` shows nothing."},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/125152009","html_url":"https://github.com/JuliaLang/julia/issues/12324#issuecomment-125152009","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/12324","id":125152009,"user":{"login":"shashi","id":25916,"avatar_url":"https://avatars.githubusercontent.com/u/25916?v=3","gravatar_id":"","url":"https://api.github.com/users/shashi","html_url":"https://github.com/shashi","followers_url":"https://api.github.com/users/shashi/followers","following_url":"https://api.github.com/users/shashi/following{/other_user}","gists_url":"https://api.github.com/users/shashi/gists{/gist_id}","starred_url":"https://api.github.com/users/shashi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shashi/subscriptions","organizations_url":"https://api.github.com/users/shashi/orgs","repos_url":"https://api.github.com/users/shashi/repos","events_url":"https://api.github.com/users/shashi/events{/privacy}","received_events_url":"https://api.github.com/users/shashi/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T09:58:20Z","updated_at":"2015-07-27T09:58:20Z","body":"Oops, you're right. My bad. I got confused with which prompt I typed things in."}}