cddl-codegen icon indicating copy to clipboard operation
cddl-codegen copied to clipboard

`@name` on top-level type silently does nothing

Open SebastienGllmt opened this issue 1 year ago • 0 comments

Right now if you do something like

out_ref = _CDDL_CODEGEN_EXTERN_TYPE_ ; @name Foo

The @name notation will silently do nothing (it only works for giving names to things inside structs). We don't need to support this, but if we don't we should probably throw an error instead of silently doing nothing

SebastienGllmt avatar Dec 25 '23 20:12 SebastienGllmt