{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/15171","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/15171/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/15171/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/15171/events","html_url":"https://github.com/JuliaLang/julia/issues/15171","id":135173722,"number":15171,"title":"Wrong example in the \"Optional Arguments\" section?","user":{"login":"Dawny33","id":4637008,"avatar_url":"https://avatars.githubusercontent.com/u/4637008?v=3","gravatar_id":"","url":"https://api.github.com/users/Dawny33","html_url":"https://github.com/Dawny33","followers_url":"https://api.github.com/users/Dawny33/followers","following_url":"https://api.github.com/users/Dawny33/following{/other_user}","gists_url":"https://api.github.com/users/Dawny33/gists{/gist_id}","starred_url":"https://api.github.com/users/Dawny33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dawny33/subscriptions","organizations_url":"https://api.github.com/users/Dawny33/orgs","repos_url":"https://api.github.com/users/Dawny33/repos","events_url":"https://api.github.com/users/Dawny33/events{/privacy}","received_events_url":"https://api.github.com/users/Dawny33/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-02-21T07:26:13Z","updated_at":"2016-02-22T15:00:42Z","closed_at":null,"body":"The example for the \"optional arguments\" docs contain the following example:\r\n\r\n```\r\nfunction parse(type, num, base=10)\r\n    ###\r\nend\r\n```\r\n\r\nIsn't `type` a reserved keyword?\r\n\r\nThe execution of the function is throwing the following error:\r\n\r\n```\r\njulia> function parse(type, num, base=10)\r\nERROR: syntax: unexpected ,\r\n```\r\n\r\nCorresponding [discussion link](https://gitter.im/JuliaLang/julia?at=56c963a35c3b0559674da3e0) on Gitter."},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/187220070","html_url":"https://github.com/JuliaLang/julia/issues/15171#issuecomment-187220070","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/15171","id":187220070,"user":{"login":"nalimilan","id":1120448,"avatar_url":"https://avatars.githubusercontent.com/u/1120448?v=3","gravatar_id":"","url":"https://api.github.com/users/nalimilan","html_url":"https://github.com/nalimilan","followers_url":"https://api.github.com/users/nalimilan/followers","following_url":"https://api.github.com/users/nalimilan/following{/other_user}","gists_url":"https://api.github.com/users/nalimilan/gists{/gist_id}","starred_url":"https://api.github.com/users/nalimilan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nalimilan/subscriptions","organizations_url":"https://api.github.com/users/nalimilan/orgs","repos_url":"https://api.github.com/users/nalimilan/repos","events_url":"https://api.github.com/users/nalimilan/events{/privacy}","received_events_url":"https://api.github.com/users/nalimilan/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T15:00:42Z","updated_at":"2016-02-22T15:00:42Z","body":"> @nalimilan Yeah, this looks a nice and simple example for the docs, which is clearer than the parse example. :+1:\r\n> \r\n> Can you pl raise this in the mailing list? (My query is still under moderation since two days!)\r\nThat's unfortunate (it happens only the first time I think), but we can discuss this here as well. The best would be to make a new pull request. I can try to do so if nobody beats me to it."}}