{"action":"opened","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/11113","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/11113/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/11113/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/11113/events","html_url":"https://github.com/JuliaLang/julia/issues/11113","id":72825387,"number":11113,"title":"Constructor documentation error","user":{"login":"dpo","id":38760,"avatar_url":"https://avatars.githubusercontent.com/u/38760?v=3","gravatar_id":"","url":"https://api.github.com/users/dpo","html_url":"https://github.com/dpo","followers_url":"https://api.github.com/users/dpo/followers","following_url":"https://api.github.com/users/dpo/following{/other_user}","gists_url":"https://api.github.com/users/dpo/gists{/gist_id}","starred_url":"https://api.github.com/users/dpo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpo/subscriptions","organizations_url":"https://api.github.com/users/dpo/orgs","repos_url":"https://api.github.com/users/dpo/repos","events_url":"https://api.github.com/users/dpo/events{/privacy}","received_events_url":"https://api.github.com/users/dpo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-03T16:03:05Z","updated_at":"2015-05-03T16:03:05Z","closed_at":null,"body":"````JULIA\r\n$ cat test_doc.jl\r\n@doc doc\"Some type.\" ->\r\ntype Something\r\n  x :: Float64;\r\nend\r\n\r\n@doc doc\"Simple constructor.\" ->\r\nSomething() = Something(1.0);\r\n````\r\n\r\nAt the REPL:\r\n````JULIA\r\njulia> VERSION\r\nv\"0.4.0-dev+4572\"\r\n\r\njulia> include(\"test_doc.jl\")\r\nERROR: LoadError: MethodError: `doc` has no method matching doc(::Type{Something}, ::Method, ::Base.Markdown.MD, ::Expr)\r\nClosest candidates are:\r\n  doc(::Function, ::Method, ::Any, ::Any)\r\n  doc(::Any, ::Any)\r\n  doc(::Function, ::Method)\r\n  ...\r\n in anonymous at docs.jl:43\r\n in include at /Applications/Julia-0.4.0-dev-dea3d0e420.app/Contents/Resources/julia/lib/julia/sys.dylib\r\n in include_from_node1 at /Applications/Julia-0.4.0-dev-dea3d0e420.app/Contents/Resources/julia/lib/julia/sys.dylib\r\nwhile loading /private/tmp/test_doc.jl, in expression starting on line 6\r\n````"}}