JuliaLang/julia — Issue #252: syntax bug for "v[:end]"
Author: StefanKarpinski
Created: 2011-11-02 17:04:30+00:00
State: open
Labels: bugs

```
julia> v[:10]
10

julia> v[:end]
no method ref(Array{Int64,1},Symbol)

julia> v[:length(v)]
type error: apply: expected Function, got Symbol
```

Admittedly, I usually write the 1 at the front of the range, but this should probably work.