mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-30 00:42:00 +00:00
Default strings and vectors: Parser + Rust support (#6421)
* Fix tests.cpp * Parser support for vector/string defaults * tests and default empty vectors * addressed comments * Default strings and vectors for Rust * Tested Rust more_defaults * git-clang-format * add more_defaults_test * fixed vector default * removed commented out code * more unreachable Co-authored-by: Casper Neo <cneo@google.com>
This commit is contained in:
7
tests/more_defaults.fbs
Normal file
7
tests/more_defaults.fbs
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
table MoreDefaults {
|
||||
ints: [int] = [];
|
||||
floats: [float] = [ ];
|
||||
empty_string: string = "";
|
||||
some_string: string = "some";
|
||||
}
|
||||
Reference in New Issue
Block a user