[Issue 14886] [REG2.066] std.parallelism.parallel with large static array seems to hang compile
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Sep 1 03:05:27 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14886
--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> ---
Reduced test case:
@property ref T front(T)(T[] a)
{
return a[0];
}
template ElementType(R)
{
static if (is(typeof(R.init.front.init) T))
alias ElementType = T;
else
alias ElementType = void;
}
void main()
{
alias R = int[100_000];
alias E = ElementType!R;
}
--
More information about the Digitalmars-d-bugs
mailing list