Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.1
-
None
-
None
-
Patch Available
Description
Esteve's last change to how default values are stored broke stuff. Here is a quick example:
{{
service Test
generates
{{
class get_slice_args:
thrift_spec = None
def _init_(self, start=thrift_spec[-1][4],):
self.start = start
}}
which is obviously invalid.
I'm not sure how thrift_spec is supposed to be populated here so I'm unsure how to fix this.
Attachments
Attachments
Issue Links
- is related to
-
THRIFT-105 make a thrift_spec for a structures with negative tags
- Closed