mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-23 00:08:52 +00:00
- fix CSharp comments generation - fix Python comments generation - fix Lua comments generation - fix PHP comments generation - fix Dart comments generation - add brief description of Color enum - add multi-line comments to the Monster:Color
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
bc7ede8fb3
commit
95004218f7
@@ -181,7 +181,6 @@ class DartGenerator : public BaseGenerator {
|
||||
}
|
||||
|
||||
auto &code = *code_ptr;
|
||||
if (indent) code += indent;
|
||||
|
||||
for (auto it = dc.begin(); it != dc.end(); ++it) {
|
||||
if (indent) code += indent;
|
||||
@@ -495,7 +494,7 @@ class DartGenerator : public BaseGenerator {
|
||||
std::string type_name = GenDartTypeName(
|
||||
field.value.type, struct_def.defined_namespace, field, false);
|
||||
|
||||
GenDocComment(field.doc_comment, &code, "");
|
||||
GenDocComment(field.doc_comment, &code, "", " ");
|
||||
|
||||
code += " " + type_name + " get " + field_name;
|
||||
if (field.value.type.base_type == BASE_TYPE_UNION) {
|
||||
|
||||
Reference in New Issue
Block a user