We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60910fb commit a86afaeCopy full SHA for a86afae
src/idl_gen_kotlin.cpp
@@ -480,7 +480,7 @@ class KotlinGenerator : public BaseGenerator {
480
}
481
if (IsStruct(field.value.type)) {
482
GenStructBody(*field.value.type.struct_def, writer,
483
- (nameprefix + (field.name + "_")).c_str());
+ (nameprefix + (namer_.Variable(field) + "_")).c_str());
484
} else {
485
writer.SetValue("type", GenMethod(field.value.type));
486
writer.SetValue("argname", nameprefix + namer_.Variable(field));
0 commit comments