Skip to content

False positive warning "declared but not used" for enums. #4510

@yglukhov

Description

@yglukhov
type E = enum
    val1
echo val1
...
Hint: system [Processing]
Hint: test [Processing]
test.nim(1, 6) Hint: 'E' is declared but not used [XDeclaredButNotUsed]
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions