-
Notifications
You must be signed in to change notification settings - Fork 776
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
Rust ICE when attribute is escaped like r#type #743
Comments
This doesn't work exactly because of pyo3 get/set breaks this. See PyO3/pyo3#743
Thanks, does indeed look like a bug in our proc macro code. I'll push a fix soon. |
That would great! Thanks. Do you know if it will make it into 0.9.0? I'm currently pulling from master but I'd like to use a release :) |
That would be one for @kngwyu. They're quite busy atm so I'm not sure exactly when they plan to release I'm expecting to push the fix by the end of the weekend, which I would guess is before the release is done. |
@ethanhs
0.9.0-alpha.1 is already released(just in case you didn't notice it...), but for non-alpha release, we have a milestone. |
💥 Reproducing
If you have code like
Rust ICEs:
It seems that it can't handle identifiers like
set_r#type
. I will report the ICE upstream but I think pyo3 should be able to support escaped keywords as attributes.The text was updated successfully, but these errors were encountered: