prost icon indicating copy to clipboard operation
prost copied to clipboard

Fix invalid `fq_message_name` when appending nested message in empty package

Open ldm0 opened this issue 2 years ago • 0 comments

On appending nested message, if package is empty, wrong fq_message_name is generated(e.g. ..M.SubMessage in this case), which leads to codegen failure. Making CodeGenerator::package vec and removing the string hacks solve this issue.

fixes #843

ldm0 avatar Apr 16 '23 20:04 ldm0