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
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
Labels
No labels