mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-29 18:32:00 +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:
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