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 for parameter name clash in generated structs #233

Merged
merged 5 commits into from
Jul 13, 2015

Conversation

aeneid
Copy link
Contributor

@aeneid aeneid commented Jul 12, 2015

This should fix #232.
I couldn't find out how you were testing generated code so I didn't add any for this PR.
Let me know if that is an issue and I'll find a way to include them.

aeneid added 2 commits July 12, 2015 22:10
This pull request should fix google#232.
Pass field name instead of struct name as nameprefix for nested structures. Continuously concatenate nameprefix arguments to support deeper nested structures.
@aardappel
Copy link
Collaborator

Nice, thanks! Could you run tests/generate_code.sh (which will update the test code, which you should include in this commit). To test, run JavaTest.sh.. the tests shouldn't need any changes since they don't rely on the argument name.

@ghost ghost force-pushed the master branch from effd8c4 to 4798456 Compare July 13, 2015 17:31
aardappel added a commit that referenced this pull request Jul 13, 2015
fix for parameter name clash in generated structs
@aardappel aardappel merged commit f66e93c into google:master Jul 13, 2015
@aardappel
Copy link
Collaborator

Thanks!

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.

parameter name clash when generating java code
2 participants