Skip to content

syntax bug for "v[:end]" #252

@StefanKarpinski

Description

@StefanKarpinski
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.

Metadata

Metadata

Assignees

Labels

bugIndicates an unexpected problem or unintended behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions