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

Fix compilation of fields named 'bytes' or 'str' #226

Merged
merged 3 commits into from
Apr 6, 2021
Merged

Conversation

nat-n
Copy link
Collaborator

@nat-n nat-n commented Apr 5, 2021

This PR replaces #193 (because I didn't have write access).

I enabled the previously xfail marked namespace_builtin_types test case and tweaked the code from @SpencerSharkey to fully cover it.

SpencerSharkey and others added 3 commits December 31, 2020 06:37
if you have a field named "bytes" using the bytes type, it doesn't work.
@nat-n nat-n requested a review from cetanu April 5, 2021 18:15
@nat-n nat-n mentioned this pull request Apr 5, 2021
@cetanu cetanu merged commit deb623e into master Apr 6, 2021
@cetanu cetanu deleted the bytes-field branch April 6, 2021 00:45
Gobot1234 pushed a commit that referenced this pull request Dec 1, 2021
* Revert "Fix compilation of fields named 'bytes' or 'str' (#226)"

This reverts commit deb623e.

* Fix compilation of fileds with name identical to their type

* Added test for field-name identical to python type

Co-authored-by: Guy Szweigman <guysz@nvidia.com>
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

Successfully merging this pull request may close these issues.

3 participants