diff options
author | Wouter van Oortmerssen <wvo@google.com> | 2014-07-09 11:44:26 -0700 |
---|---|---|
committer | Wouter van Oortmerssen <wvo@google.com> | 2014-07-09 17:13:03 -0700 |
commit | 75349ae8c39d01e7e2b5779a18ace750c08e2fd9 (patch) | |
tree | 53712f04ba0c455f493423f205f943a0769669fc /tests/monster_test.fbs | |
parent | b3ee52c0a7f32a642787b9373cef6e7467880dc1 (diff) | |
download | flatbuffers-75349ae8c39d01e7e2b5779a18ace750c08e2fd9.tar.gz flatbuffers-75349ae8c39d01e7e2b5779a18ace750c08e2fd9.tar.bz2 flatbuffers-75349ae8c39d01e7e2b5779a18ace750c08e2fd9.zip |
Fixed incorrect verifier code for nested tables.
It was outputting the type instead of the field name, and didn't deal
with NULL fields. Added test case.
Also fixed token enums having the wrong value, resulting in
unreadable error messages.
Change-Id: Icd9b4d22f417bfad5824c0f58e067ce3f2e2dc6f
Tested: on Windows and Linux.
Diffstat (limited to 'tests/monster_test.fbs')
-rwxr-xr-x | tests/monster_test.fbs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/monster_test.fbs b/tests/monster_test.fbs index a9f95ea2..cf191c41 100755 --- a/tests/monster_test.fbs +++ b/tests/monster_test.fbs @@ -29,6 +29,7 @@ table Monster { /// multiline too testarrayoftables:[Monster] (id: 11); testarrayofstring:[string] (id: 10); + enemy:Monster (id:12); test:Any (id: 8); test4:[Test] (id: 9); } |