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:
Wouter van Oortmerssen
2014-09-25 15:53:56 -07:00
parent 730c0cadde
commit 18cf19f876
12 changed files with 172 additions and 25 deletions

View File

@@ -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;