{"action":"opened","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/26916","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/26916/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/26916/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/26916/events","html_url":"https://github.com/JuliaLang/julia/issues/26916","id":318419714,"number":26916,"title":"Anonymous function: syntax error","user":{"login":"AndiMD","id":24719218,"avatar_url":"https://avatars1.githubusercontent.com/u/24719218?v=4","gravatar_id":"","url":"https://api.github.com/users/AndiMD","html_url":"https://github.com/AndiMD","followers_url":"https://api.github.com/users/AndiMD/followers","following_url":"https://api.github.com/users/AndiMD/following{/other_user}","gists_url":"https://api.github.com/users/AndiMD/gists{/gist_id}","starred_url":"https://api.github.com/users/AndiMD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndiMD/subscriptions","organizations_url":"https://api.github.com/users/AndiMD/orgs","repos_url":"https://api.github.com/users/AndiMD/repos","events_url":"https://api.github.com/users/AndiMD/events{/privacy}","received_events_url":"https://api.github.com/users/AndiMD/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-27T13:57:24Z","updated_at":"2018-04-27T13:57:24Z","closed_at":null,"author_association":"NONE","body":"The following behavior seems erroneous, or at least confusing to me:\r\n\r\nThese work:\r\n```f(x=1;y=2)=x+y```\r\n```(x;y=2)->x+y```\r\n```(x=1,y=2)->x+y```\r\n\r\nThis errors:\r\n```(x=1;y=2)->x+y```\r\n\r\nERROR: syntax: invalid assignment location \"begin\r\n    x=1\r\n    y=2\r\nend\"\r\n\r\n```versioninfo()```\r\nJulia Version 0.6.2\r\nCommit d386e40c17 (2017-12-13 18:08 UTC)\r\nPlatform Info:\r\n  OS: Linux (x86_64-pc-linux-gnu)\r\n  CPU: Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz\r\n  WORD_SIZE: 64\r\n  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)\r\n  LAPACK: libopenblas64_\r\n  LIBM: libopenlibm\r\n  LLVM: libLLVM-3.9.1 (ORCJIT, skylake)"}}
{"actor":{"display_login":"AndiMD"}}