Converting an enum to a value outside it's range is extremely common, as enums are frequently used as bitmasks and the like.
The bit about optional will likely break a fair amount of code which performs functions similar to optional as well.
Converting an enum to a value outside it's range is extremely common, as enums are frequently used as bitmasks and the like.
The bit about optional will likely break a fair amount of code which performs functions similar to optional as well.