mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-30 21:30:01 +00:00
Fix to #360 - Updated the general generator (Java/C#) to emit fully qualified names where the referenced object isn't directly in this namespace. Added test fbs files to verify compilation.
This commit is contained in:
17
tests/namespace_test/namespace_test1.fbs
Normal file
17
tests/namespace_test/namespace_test1.fbs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace NamespaceA.NamespaceB;
|
||||
|
||||
table TableInNestedNS
|
||||
{
|
||||
foo:int;
|
||||
}
|
||||
|
||||
enum EnumInNestedNS:byte
|
||||
{
|
||||
A, B, C
|
||||
}
|
||||
|
||||
struct StructInNestedNS
|
||||
{
|
||||
a:int;
|
||||
b:int;
|
||||
}
|
||||
Reference in New Issue
Block a user