https://issues.dlang.org/show_bug.cgi?id=23620
Salih Dincer <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from Salih Dincer <[email protected]> --- This isn't a bug! void main() { struct Index { size_t value; alias value this; } enum size_t i = Index(); int[i] a; int[cast(size_t)Index()] b; static assert(a.length == b.length); } --
