iamandi / nanopb

Automatically exported from code.google.com/p/nanopb
zlib License
0 stars 0 forks source link

Regression: callback-type bytes-fields cause generator error #99

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have a 'bytes' field with no maximum size.
2. Run nanopb_generator.py

What is the expected output? What do you see instead?
Expected a callback-type field to be generated. Got error message:
AttributeError: Field instance has no attribute 'ctype'

Original issue reported on code.google.com by Petteri.Aimonen on 3 Jan 2014 at 9:19

GoogleCodeExporter commented 9 years ago
Commit a46ed9f fixes the basic problem.

Still need to add an AllTypes test case for callback-type fields to detect this 
kind of regressions in the future.

Original comment by Petteri.Aimonen on 3 Jan 2014 at 9:21

GoogleCodeExporter commented 9 years ago
Issue 100 has been merged into this issue.

Original comment by Petteri.Aimonen on 21 Jan 2014 at 6:05

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 057165966c8e.

Original comment by Petteri.Aimonen on 10 Feb 2014 at 7:01

GoogleCodeExporter commented 9 years ago
Fix released in nanopb-0.2.6

Original comment by Petteri.Aimonen on 15 Feb 2014 at 3:00