https://issues.dlang.org/show_bug.cgi?id=13864
Issue ID: 13864
Summary: tuple expand causes range violation
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: major
Priority: P1
Component: DMD
Assignee: [email protected]
Reporter: [email protected]
import std.typecons;
void main (string[] args)
{/*...}*/
int[] x = [2,3,4];
writeln (x[0]);
writeln (x[0.tuple.expand]); // BUG range violation
}
--
