forked from BigfootDev/flatbuffers
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:
10
tests/namespace_test/namespace_test2.fbs
Normal file
10
tests/namespace_test/namespace_test2.fbs
Normal file
@@ -0,0 +1,10 @@
|
||||
include "namespace_test1.fbs";
|
||||
|
||||
namespace NamespaceA;
|
||||
|
||||
table TableInFirstNS
|
||||
{
|
||||
foo_table:NamespaceB.TableInNestedNS;
|
||||
foo_enum:NamespaceB.EnumInNestedNS;
|
||||
foo_struct:NamespaceB.StructInNestedNS;
|
||||
}
|
||||
Reference in New Issue
Block a user