mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-09 06:30:54 +00:00
Fix go generator undefined Package name, also throwing exception (#7632)
* Fix go generator undefined Package, also throw exception in specific examples. * Add test for go generator import problem * Add new version of generated go file. Fix conflict. * Add executable permission to generate_code.py script. * Improve test quality, remove unwanted generated files, better naming * Fix comments * clang format Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
8
tests/include_test/order.fbs
Normal file
8
tests/include_test/order.fbs
Normal file
@@ -0,0 +1,8 @@
|
||||
include "no_namespace.fbs";
|
||||
|
||||
namespace order;
|
||||
|
||||
table Food {
|
||||
pizza: Pizza (id: 0);
|
||||
pizza_test:Pizza(id:1);
|
||||
}
|
||||
3
tests/include_test/sub/no_namespace.fbs
Normal file
3
tests/include_test/sub/no_namespace.fbs
Normal file
@@ -0,0 +1,3 @@
|
||||
table Pizza {
|
||||
size: int;
|
||||
}
|
||||
Reference in New Issue
Block a user