diff options
author | Etan Kissling <etan@status.im> | 2023-06-10 14:45:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-10 14:45:00 +0200 |
commit | 8bba04078cc93556e027bd43c0c87c34d88ee528 (patch) | |
tree | 992a3139012dd38099db729917c536c8935d1d95 /atlas | |
parent | d3af0882cff6d1d4cbaf669005f6463d72e5be27 (diff) | |
download | Nim-8bba04078cc93556e027bd43c0c87c34d88ee528.tar.gz |
avoid `AnyEnumConv` warning in `genEnumCaseStmt` (#22061)
When parsing enums from strings using `genEnumCaseStmt`, `AnyEnumConv` warnings are generated due to conversion from integer value. It seems possible meanwhile to refer to the actual `enum` value by symbol instead of being required to do the conversion from `ord`, even when the `enum` is defined in a `block`.
Diffstat (limited to 'atlas')
0 files changed, 0 insertions, 0 deletions