Commit 8fb9d0d
Fix key serialization for mutable struct with struct member
This fixes the serialization of keys for a mutable struct that has
a key member with a struct type that contains non-key members.
The serialization kind was not passed to the nested serialize call,
which resulted in non-key members of the nested type being added to
the key.
Additionally a few entries are added to the reserved name list
in the random IDL generator. This solves some runtime errors in
fuzzer runs (`TypeError: 'list' object is not callable` and
`expected identifier or '(' before 'static'`)
Signed-off-by: Dennis Potman <dennis@zettascale.tech>1 parent 637cfe5 commit 8fb9d0d
File tree
2 files changed
+2
-2
lines changed- cyclonedds/idl
- tests/support_modules/fuzz_tools/rand_idl
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1038 | 1038 | | |
1039 | 1039 | | |
1040 | 1040 | | |
1041 | | - | |
| 1041 | + | |
1042 | 1042 | | |
1043 | 1043 | | |
1044 | 1044 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments