Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix invalid fq_message_name when appending nested message in empty package #845

Closed
wants to merge 1 commit into from

Conversation

ldm0
Copy link
Contributor

@ldm0 ldm0 commented Apr 16, 2023

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 ldm0 force-pushed the ldm_package_fix branch 2 times, most recently from 874e711 to 978698c Compare April 17, 2023 15:38
@caspermeijn
Copy link
Collaborator

This has been fixed by #981

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid generated code when using a nested message with a map field
2 participants