Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@kostya-sh

Description

@kostya-sh

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions