mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-24 01:01:48 +00:00
[Swift] Moves VTs from enums to structs to prevent empty enum generation
Moves VTs from enums to structs to prevent empty enum generation, which would usually cause a compilation error.
This commit is contained in:
5
tests/swift/fuzzer/CodeGenerationTests/empty_vtable.fbs
Normal file
5
tests/swift/fuzzer/CodeGenerationTests/empty_vtable.fbs
Normal file
@@ -0,0 +1,5 @@
|
||||
namespace DataModel;
|
||||
|
||||
table A {
|
||||
a:int (deprecated);
|
||||
}
|
||||
Reference in New Issue
Block a user