Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Consider changing call precedence to be equal to or greater than !, ::, and [ ] #138

Open
@bamarsha

Description

I would like to write:

Complex(1.0, 0.0)!
Complex(1.0, 0.0)::Real
GetArray()[i]

But because of operator precedence, this is invalid syntax, and I have to instead parenthesize the calls:

(Complex(1.0, 0.0))!
(Complex(1.0, 0.0))::Real
(GetArray())[i]

Metadata

Assignees

No one assigned

    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