Commit 1ad40939 authored by dbarbera's avatar dbarbera
Browse files

Replace minus char in struct field names

parent c0327a26
......@@ -769,7 +769,7 @@ def _generate_type(ty):
field_names = []
field_types = []
for field_name in Helper.sorted_fields(basic_ty):
field_names.append(field_name.replace('-', '_'))
struct = StructType(ty.ReferencedTypeName, field_names, field_types)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment