{"action":"closed","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/15931","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/15931/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/15931/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/15931/events","html_url":"https://github.com/JuliaLang/julia/issues/15931","id":149274549,"number":15931,"title":"0.4.6pre Documentation for SubArray looks out of date","user":{"login":"dlfivefifty","id":1229737,"avatar_url":"https://avatars.githubusercontent.com/u/1229737?v=3","gravatar_id":"","url":"https://api.github.com/users/dlfivefifty","html_url":"https://github.com/dlfivefifty","followers_url":"https://api.github.com/users/dlfivefifty/followers","following_url":"https://api.github.com/users/dlfivefifty/following{/other_user}","gists_url":"https://api.github.com/users/dlfivefifty/gists{/gist_id}","starred_url":"https://api.github.com/users/dlfivefifty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlfivefifty/subscriptions","organizations_url":"https://api.github.com/users/dlfivefifty/orgs","repos_url":"https://api.github.com/users/dlfivefifty/repos","events_url":"https://api.github.com/users/dlfivefifty/events{/privacy}","received_events_url":"https://api.github.com/users/dlfivefifty/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/doc","name":"doc","color":"02d7e1"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-04-18T21:17:06Z","updated_at":"2016-09-22T21:21:27Z","closed_at":"2016-09-22T21:21:27Z","body":"It states that a `SubArray` is defined as\r\n\r\n```julia\r\ntype SubArray{T,N,P<:AbstractArray,I<:(ViewIndex...),LD} <: AbstractArray{T,N}\r\n    parent::P\r\n    indexes::I\r\n    dims::NTuple{N,Int}\r\n    first_index::Int   # for linear indexing and pointer\r\n    stride1::Int       # used only for linear indexing\r\nend\r\n```\r\n\r\nwhen actually it's defined as\r\n\r\n```julia\r\nimmutable SubArray{T,N,P<:AbstractArray,I<:Tuple{Vararg{ViewIndex}},LD} <: AbstractArray{T,N}\r\n    parent::P\r\n    indexes::I\r\n    dims::NTuple{N,Int}\r\n    first_index::Int   # for linear indexing and pointer\r\n    stride1::Int       # used only for linear indexing\r\nend\r\n```"}}
{"actor":{"display_login":"kshyatt"}}