Started implementation for private flags in rust (#7269)

Adds flag to the cpp to fix bad annotations in all the languages

Addresses comments to the PR, and fixes logic for leaking annotations
This commit is contained in:
mustiikhalil
2022-06-05 23:04:05 +02:00
committed by GitHub
parent 967df08b1d
commit 11a1988705
13 changed files with 924 additions and 11 deletions

View File

@@ -0,0 +1,18 @@
enum AB:byte (private) {
A,
B,
}
struct Object (private) {
value: int;
}
union Any (private) { Game, Annotations }
table Game (private) {
value: int;
}
table Annotations (private) {
value: int;
}