https://issues.dlang.org/show_bug.cgi?id=23945
FeepingCreature <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from FeepingCreature <[email protected]> --- Maybe reduction: struct SumType() { ArrayValue value; this(ArrayValue value) { this.value = value; } static if (__traits(compiles, hashOf(ElementValuePair.init))) { size_t toHash() { return 0; } } } struct ArrayValue { ElementValue[] values; } struct ElementValuePair { ElementValue element_value; } alias ElementValue = SumType!(); ==== Error: unknown, please file report on issues.dlang.org I suspect something with hashOf and struct initialization order. I think this may have been a few steps minified too far, but it's still spitting out "Error: unknown", so... --
