eclipse-cyclonedds/cyclonedds-python

Error in IDL generator with structs inheritance which identifiers are Python keywords

Bit-Seq opened this issue · 0 comments

Hello,

I have detected an error in IDL generator with structs inheritance which identifiers are Python keywords.

module module_test {
    struct and {
        char var;
    };
    struct child : and {
        char var2;
    };
};

This problem is related to the solution we gave on #105. This case couldn't be tested because bug #162 wasn't fixed by then. So, we couldn't test and verify structs inheritance with keywords. As soon as #172 will be solved I will be able to test this error, but I have locally solved this issue. I will share a PR with it.

Best regards.