Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some of PyNumberProtocol methods are broken #48

Closed
fafhrd91 opened this issue Jul 17, 2017 · 1 comment
Closed

some of PyNumberProtocol methods are broken #48

fafhrd91 opened this issue Jul 17, 2017 · 1 comment
Milestone

Comments

@fafhrd91
Copy link
Contributor

current signature:

fn __add__(&self, rhs: Self::Other) -> Self::Result

but python treat it as:

fn __add__(lhs: Self::Left, rhs: Self::Right) -> Self::Result

&self is Self::Left or Self::Right, depends on actual expression

@fafhrd91 fafhrd91 added this to the 0.1.0 release milestone Jul 17, 2017
@fafhrd91
Copy link
Contributor Author

this has to be fixed before 0.1 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant