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

* if you have a field named "bytes" using the bytes type, it doesn't work.
* Enable existing use-case & generalize solution to cover it

Co-authored-by: Spencer <spencer@sf-n.com>
This commit is contained in:
nat
2021-04-06 02:45:57 +02:00
committed by GitHub
parent 95339bf74d
commit deb623ed14
2 changed files with 11 additions and 2 deletions

View File

@@ -2,7 +2,6 @@
# Remove from list when fixed.
xfail = {
"namespace_keywords", # 70
"namespace_builtin_types", # 53
"googletypes_struct", # 9
"googletypes_value", # 9
"import_capitalized_package",