OpenCyphal / pydsdl

Cyphal DSDL processing front end implemented in Python
https://opencyphal.org
MIT License
10 stars 9 forks source link

If the same type is defined in multiple locations, an InternalError is raised #94

Closed pavel-kirienko closed 1 year ago

pavel-kirienko commented 1 year ago

Example:

pydsdl._error.InternalError: /.../public_regulated_data_types/uavcan/diagnostic/8184.Record.1.1.dsdl:4: Conflicting definitions: [...]

The correct behavior is to raise an InvalidDefinitionError.