eProsima / Fast-DDS-Gen

Fast-DDS IDL code generator tool. Looking for commercial support? Contact info@eprosima.com
Apache License 2.0
82 stars 60 forks source link

Fix the type object with its full scoped name #160

Closed jihot2000 closed 8 months ago

jihot2000 commented 1 year ago

When adding a type object, only the type name is added. Its scope is omitted. That may result in a conflict between two types with the same name but in different scopes. For example, mod1::structA and mod2::structA

module mod1 { struct structA {...}; };
module mod2 { struct structA {...}; };
AndreaFinazzi commented 1 year ago

Could this issue https://github.com/eProsima/Fast-DDS/issues/3296#issuecomment-1662083735 be related?

EduPonz commented 8 months ago

This should have been addressed in this branch, which will be part of the next major release in upcoming months. Thanks!