mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-15 08:48:52 +00:00
Apply Namer prefix/suffix to other generators (#7197)
* Apply Namer prefix/suffix to other generators * unnecessary .name Co-authored-by: Casper Neo <cneo@google.com>
This commit is contained in:
@@ -836,7 +836,7 @@ class DartGenerator : public BaseGenerator {
|
||||
it != non_deprecated_fields.end(); ++it) {
|
||||
const auto &field = *it->second;
|
||||
const auto offset = it->first;
|
||||
const std::string add_field = namer_.Method("add_" + field.name);
|
||||
const std::string add_field = namer_.Method("add", field);
|
||||
const std::string field_var = namer_.Variable(field);
|
||||
|
||||
if (IsScalar(field.value.type.base_type)) {
|
||||
|
||||
Reference in New Issue
Block a user