mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-11 23:40:57 +00:00
[idl_parser] Mark typefield as deprecated (#5958)
* Mark typefield as deprecated * Add UnionDeprecation Test. * Update to use evolution schema instead. * Use --scoped-enums to compile.
This commit is contained in:
@@ -43,8 +43,9 @@ table Root {
|
||||
g:[int];
|
||||
h:[TableB];
|
||||
i:uint = 1234;
|
||||
j:TableC; // new in v2
|
||||
k:uint8 = 56; // new in v2
|
||||
j:Union (deprecated); // deprecated in v2
|
||||
k:TableC; // new in v2
|
||||
l:uint8 = 56; // new in v2
|
||||
}
|
||||
|
||||
root_type Root;
|
||||
root_type Root;
|
||||
|
||||
Reference in New Issue
Block a user