mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-08 14:15:17 +00:00
flatc java generator: namespace_test2.fbs is missing namespace prefix for referToA2() return type (#4040)
* Fix flatc generating incorrect java/c# code for namespace_test2.fbs. In code for TableInC, method referToA2() returned type SecondTableInA instead of NamespaceA.SecondTableInA. * Updated generated code. * Fixed indendation.
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
520d68449f
commit
199157e8f4
@@ -17,9 +17,9 @@ public struct Monster : IFlatbufferObject
|
||||
|
||||
|
||||
public static void StartMonster(FlatBufferBuilder builder) { builder.StartObject(0); }
|
||||
public static Offset<MyGame.Example2.Monster> EndMonster(FlatBufferBuilder builder) {
|
||||
public static Offset<Monster> EndMonster(FlatBufferBuilder builder) {
|
||||
int o = builder.EndObject();
|
||||
return new Offset<MyGame.Example2.Monster>(o);
|
||||
return new Offset<Monster>(o);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user