forked from BigfootDev/flatbuffers
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
224 B
Lua
12 lines
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 |