mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-02 07:18:18 +00:00
fix(flatbuffers): use manual impl Default for struct object types (#8947)
* fix(flatbuffers): use manual impl Default for struct object types * fix: handle bool and float zero literals in struct object Default impl * fix: regenerate all test bindings with generate_code.py * fix: data type check on swift build * fix: test large array on struct and enum
This commit is contained in:
@@ -18,6 +18,14 @@ struct ArrayStruct{
|
||||
f:[int64:2];
|
||||
}
|
||||
|
||||
struct LargeArrayStruct {
|
||||
d:[ubyte:64];
|
||||
e:[float:64];
|
||||
f:[bool:64];
|
||||
g:[NestedStruct:64];
|
||||
h:[TestEnum:64];
|
||||
}
|
||||
|
||||
table ArrayTable{
|
||||
a:ArrayStruct;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user