mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-01 12:51:36 +00:00
Fixed bug in convenient constructors for Java/C#
Also fixed Go unit tests not being up to date with recent schema changes. Change-Id: I42e619f9c5ea05f6f937c68a5c8a92462c46bce3 Tested: on Linux and Windows.
This commit is contained in:
@@ -19,6 +19,11 @@ struct Vec3 (force_align: 16) {
|
||||
test3:Test;
|
||||
}
|
||||
|
||||
table Stat {
|
||||
id:string;
|
||||
val:long;
|
||||
}
|
||||
|
||||
table Monster {
|
||||
pos:Vec3 (id: 0);
|
||||
hp:short = 100 (id: 2);
|
||||
@@ -35,7 +40,7 @@ table Monster {
|
||||
test:Any (id: 8);
|
||||
test4:[Test] (id: 9);
|
||||
testnestedflatbuffer:[ubyte] (id:13, nested_flatbuffer: "Monster");
|
||||
testempty:Monster (id:14);
|
||||
testempty:Stat (id:14);
|
||||
}
|
||||
|
||||
root_type Monster;
|
||||
|
||||
Reference in New Issue
Block a user