{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/11909","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/11909/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/11909/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/11909/events","html_url":"https://github.com/JuliaLang/julia/pull/11909","id":91572383,"number":11909,"title":"Fix bitstypes docstrings and add tests.","user":{"login":"MichaelHatherly","id":6144086,"avatar_url":"https://avatars.githubusercontent.com/u/6144086?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelHatherly","html_url":"https://github.com/MichaelHatherly","followers_url":"https://api.github.com/users/MichaelHatherly/followers","following_url":"https://api.github.com/users/MichaelHatherly/following{/other_user}","gists_url":"https://api.github.com/users/MichaelHatherly/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelHatherly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelHatherly/subscriptions","organizations_url":"https://api.github.com/users/MichaelHatherly/orgs","repos_url":"https://api.github.com/users/MichaelHatherly/repos","events_url":"https://api.github.com/users/MichaelHatherly/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelHatherly/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/docsystem","name":"docsystem","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":{"login":"one-more-minute","id":2234614,"avatar_url":"https://avatars.githubusercontent.com/u/2234614?v=3","gravatar_id":"","url":"https://api.github.com/users/one-more-minute","html_url":"https://github.com/one-more-minute","followers_url":"https://api.github.com/users/one-more-minute/followers","following_url":"https://api.github.com/users/one-more-minute/following{/other_user}","gists_url":"https://api.github.com/users/one-more-minute/gists{/gist_id}","starred_url":"https://api.github.com/users/one-more-minute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/one-more-minute/subscriptions","organizations_url":"https://api.github.com/users/one-more-minute/orgs","repos_url":"https://api.github.com/users/one-more-minute/repos","events_url":"https://api.github.com/users/one-more-minute/events{/privacy}","received_events_url":"https://api.github.com/users/one-more-minute/received_events","type":"User","site_admin":false},"milestone":null,"comments":17,"created_at":"2015-06-28T08:38:35Z","updated_at":"2015-07-05T15:48:32Z","closed_at":"2015-07-05T15:31:49Z","pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/11909","html_url":"https://github.com/JuliaLang/julia/pull/11909","diff_url":"https://github.com/JuliaLang/julia/pull/11909.diff","patch_url":"https://github.com/JuliaLang/julia/pull/11909.patch"},"body":"After https://github.com/JuliaLang/julia/pull/11893 was merged ``bitstype`` docs were stored in ``TypeDoc``s. Since they don't have any fields documenting them results in a bounds error in ``field_meta``:\r\n\r\n```\r\njulia> \"...\"\r\n       bitstype 8 BT\r\nERROR: BoundsError: attempt to access 2-element Array{Any,1}:\r\n 8   \r\n  :BT\r\n  at index [3]\r\n```\r\n\r\nThis PR instead stores them in the same way as ``abstract`` and ``typealias`` are being stored.\r\n\r\nAlso adds some tests for all the cases I could think of to hopefully catch problems earlier.\r\n\r\ncc: @one-more-minute"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/118634784","html_url":"https://github.com/JuliaLang/julia/pull/11909#issuecomment-118634784","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/11909","id":118634784,"user":{"login":"MichaelHatherly","id":6144086,"avatar_url":"https://avatars.githubusercontent.com/u/6144086?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelHatherly","html_url":"https://github.com/MichaelHatherly","followers_url":"https://api.github.com/users/MichaelHatherly/followers","following_url":"https://api.github.com/users/MichaelHatherly/following{/other_user}","gists_url":"https://api.github.com/users/MichaelHatherly/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelHatherly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelHatherly/subscriptions","organizations_url":"https://api.github.com/users/MichaelHatherly/orgs","repos_url":"https://api.github.com/users/MichaelHatherly/repos","events_url":"https://api.github.com/users/MichaelHatherly/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelHatherly/received_events","type":"User","site_admin":false},"created_at":"2015-07-05T15:48:32Z","updated_at":"2015-07-05T15:48:32Z","body":"Thanks."}}