mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 12:05:50 +00:00
[Dart] Getting tests/DartTest.sh to work on master. (#5915)
* Fixed refractoring issue in reflection/generate_code.sh. Also, mv deletes the original file, so I don't need to clean it up manually in that case. * Fixed Dart Tests by removing code-gen for included files.
This commit is contained in:
@@ -680,7 +680,7 @@ CheckedError Parser::ParseField(StructDef &struct_def) {
|
||||
if (struct_def.fixed) {
|
||||
auto valid = IsScalar(type.base_type) || IsStruct(type);
|
||||
if (!valid && IsArray(type)) {
|
||||
const auto& elem_type = type.VectorType();
|
||||
const auto &elem_type = type.VectorType();
|
||||
valid |= IsScalar(elem_type.base_type) || IsStruct(elem_type);
|
||||
}
|
||||
if (!valid)
|
||||
|
||||
Reference in New Issue
Block a user