https://issues.dlang.org/show_bug.cgi?id=21109
--- Comment #3 from Andrej Mitrovic <[email protected]> --- I think this is related to `sort`. It's possible that sort compares by pointers if two structs are otherwise equivalent. And then using `enum` has a different effect on arrays, possibly optimizing and storing the same pointer in two structs (making them equal). --
