Skip to content

arr[var"end"] is the same as arr[end] #57269

@mlechu

Description

@mlechu

Brought up in #56936 (thanks @martinholters for the example):

julia> let var"end"=1; (1:10)[var"end"]; end
10 # anything else than "end", and you get 1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions