Hacker News new | ask | show | jobs
by hiccuphippo 167 days ago
Yes, but you have to cast it explicitly. If you have two different arrays each with its own enum, the compiler would throw an error if you used the wrong one.

Sorry for the late response and happy new year!

1 comments

Thanks for the clarification. Happy new year