Skip to content

cddl-derive socket/plug extensions produce duplicate types #573

@ok-nick

Description

@ok-nick

Socket/plug extensions are treated as separate types when they should ideally be merged into one enum.

Repro:

$foo /= int
$foo /= tstr

Output:

pub type Foo = i64;
pub type Foo = String;

Error: the name `Foo` is defined multiple times

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions