mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
Some generic C++ and Rust code is not generated when unions use type aliases because of potential ambiguity. Actually check for this ambiguity and only disable offending code only if it is found.
11 lines
169 B
Python
11 lines
169 B
Python
# automatically generated by the FlatBuffers compiler, do not modify
|
|
|
|
# namespace: Example
|
|
|
|
class AnyUniqueAliases(object):
|
|
NONE = 0
|
|
M = 1
|
|
T = 2
|
|
M2 = 3
|
|
|