Closed zwimer closed 2 years ago
Thank you for reporting this @zwimer ! This should be fixable. - are you planing to submit PR with fix? If not then i will add this to my list. Please let me know to avoid effort duplication. Thanks,
I only documented this. For my use cases I just ran through every operator to determine what was usable and now then made a PR with those results linked above. I don't currently plan to fix these.
@lyskov I ended up needing these so I fixed them and made a PR
The unary
+
and-
operators are treated as__add__
and__sub__
instead of__pos__
and__neg__
.For example, calling binder on:
Yields:
Also the unary
*
operator (dereference) is converted to__mul__
.