Skip to content

A method name followed by a space followed by a square bracket is a parameter, not an index operator #84

@wnewbery

Description

@wnewbery

arr.find_index [1, 2] with white space before the opening bracket is not considered a method argument

Should be interpreted as: arr.find_index([1,2])
Not as: (arr.find_index)[1,2]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions