Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
alwaysbeconsing
2y ago
0 comments
Share
This annoying restriction is lifted in Nim 2; see the linked announcement.
0 comments
default
newest
oldest
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.
alwaysbeconsing
OP
2y ago
Oh, no, I actually misunderstood cobby's complaint: the field names, yes, those still have to be unique. Which is also a bit annoying, though I've seen discussions about changing it.
j
/
k
navigate · click thread line to collapse