Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
cobby
2y ago
0 comments
Share
Also Nim requires you to use unique field names across all variants.
undefined | Better HN
0 comments
default
newest
oldest
alwaysbeconsing
2y ago
This annoying restriction is lifted in Nim 2; see the linked announcement.
xigoi
2y ago
Where in the announcement does it say that?
ElegantBeef
2y ago
They likely read "overloadable enums" and went "Oh Rust calls their tagged unions enums" so assumed all languages did.
1 more reply
j
/
k
navigate · click thread line to collapse