Flatbuffers: Go: types in other namespaces are not supported by the generator

Created on 17 Aug 2018  路  1Comment  路  Source: google/flatbuffers

When running ./test/GoTest.sh I get the following errors:

# MyGame/Example
go_gen/src/MyGame/Example/Monster.go:519:66: undefined: InParentNamespace
go_gen/src/MyGame/Example/Monster.go:524:14: undefined: InParentNamespace
FAIL    flatbuffers_test [build failed]

This is because InParentNamespace type is defined in another package (MyGame) and go source code generator doesn't generate correct code in this case.

Most helpful comment

@kostya-sh Thanks--we know about this and I'll fix it :-)

>All comments

@kostya-sh Thanks--we know about this and I'll fix it :-)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

siebeneicher picture siebeneicher  路  6Comments

shepmaster picture shepmaster  路  8Comments

eduardosm picture eduardosm  路  3Comments

gorakhargosh picture gorakhargosh  路  5Comments

NN--- picture NN---  路  6Comments