mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-02 18:27:46 +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.
12 lines
No EOL
224 B
Lua
12 lines
No EOL
224 B
Lua
-- automatically generated by the FlatBuffers compiler, do not modify
|
|
|
|
-- namespace: Example
|
|
|
|
local AnyAmbiguousAliases = {
|
|
NONE = 0,
|
|
M1 = 1,
|
|
M2 = 2,
|
|
M3 = 3,
|
|
}
|
|
|
|
return AnyAmbiguousAliases -- return the module |