digitalmars.D.bugs - [Issue 15062] New: ElementType Causes Abnormally Long Compile Time
- via Digitalmars-d-bugs (34/34) Sep 15 2015 https://issues.dlang.org/show_bug.cgi?id=15062
https://issues.dlang.org/show_bug.cgi?id=15062 Issue ID: 15062 Summary: ElementType Causes Abnormally Long Compile Time Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: monkeyworks12 hotmail.com import std.range; import std.array; import std.conv; import std.algorithm; import std.string; import std.stdio; enum Instructions: ushort { add = 123, sub = 124, } uint[ushort.max] inst; void initInst() { //Removing this line drastically reduces compile time alias InstElem = ElementType!(typeof(inst)); } void main() { } --
Sep 15 2015