Written by Boris Ohayon | January 3, 2017
It turns out that Swift 3 nested enums combine options, but it’s not inheritance. It’s a little know “feature” you should be aware of when designing API with Swift 3.
I didn’t know that, and my (I have to admit reasonable assumption) lead to the problem…