Skip to content

cddl-derive literals and ranges aren't emitted #534

@ok-nick

Description

@ok-nick

Literals and ranges aren't emitted in the Rust codegen using cddl-derive.

Repro:

color = "red"
scale = 1..10

container = {
  name: color,
  level: scale,
}

Errors:

  • cannot find type `Scale` in this scope
  • cannot find type `Color` in this scope

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