I'll see about merging this change alongside whatever else I do next major release.
I'm torn between documenting this behavior with an explicit warning or changing it. If someone already relies on the return value of EnumSet::insert, this is a sneaky breaking change that will wreck their codebase.
I'll see about merging this change alongside whatever else I do next major release.
I'm torn between documenting this behavior with an explicit warning or changing it. If someone already relies on the return value of
EnumSet::insert
, this is a sneaky breaking change that will wreck their codebase.