https://issues.dlang.org/show_bug.cgi?id=14660
Issue ID: 14660 Summary: std.range.choose() is not CTFE'able Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: Phobos Assignee: nob...@puremagic.com Reporter: bugzi...@digitalmars.com The trouble is caused by the use of the void[] buffer, which is cast to the right type, and the cast fails in CTFE. --