-
Notifications
You must be signed in to change notification settings - Fork 3.4k
lookupByKey corrections #4007
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
lookupByKey corrections #4007
Conversation
|
Please have a look (or rebase to) e1f8037 where I already fixed a few issues. |
# Conflicts: # src/idl_gen_general.cpp
|
Fixed typo, added checking before appending byte array. |
src/idl_gen_general.cpp
Outdated
| } | ||
| if (struct_def.has_key) { | ||
| if (struct_def.has_key && (lang_.language == IDLOptions::kJava || | ||
| lang_.language == IDLOptions::kCSharp)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does this do? it currently only really runs for 2 languages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the Go version will be released, absence of this check will cause errors. Remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Go version will never be merged into this I don't think, so yes, remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, yes, dumb checking. Sorry for that.
|
That typo would have been caught if there was a test for it... |
No description provided.