# Why doesn't indexing syntax broadcast?

**URL:** https://discourse.julialang.org/t/why-doesnt-indexing-syntax-broadcast/49353
**Category:** General Usage
**Tags:** question
**Created:** [October 31, 2020, 5:51am UTC](https://discourse.julialang.org/t/why-doesnt-indexing-syntax-broadcast/49353 "2020-10-31T05:51:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jzr](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@jzr](https://discourse.julialang.org/u/jzr)
#### Post date: [October 31, 2020, 5:51am UTC](https://discourse.julialang.org/t/why-doesnt-indexing-syntax-broadcast/49353/1 "2020-10-31T05:51:43Z")

</div>

Why don’t these do the same thing?

```julia
julia> getindex.([[1,2], [3,4]], 1)
2-element Array{Int64,1}:
 1
 3

julia> [[1,2], [3,4]].[1]
ERROR: syntax: invalid syntax "[[1, 2], [3, 4]].[1]"

```

---

<div class="post-metadata">

### Author: ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)
#### Post date: [October 31, 2020, 7:34am UTC](https://discourse.julialang.org/t/why-doesnt-indexing-syntax-broadcast/49353/2 "2020-10-31T07:34:00Z")

</div>

This syntax doesn’t exist and there are issues around implementation, see the discussion here: [https://github.com/JuliaLang/julia/issues/19169](https://github.com/JuliaLang/julia/issues/19169)
