[Bug 212] New: Internal compiler error: in expand, at cgraphunit.c:1942
via D.gnu
d.gnu at puremagic.com
Sat Feb 13 06:34:05 PST 2016
http://bugzilla.gdcproject.org/show_bug.cgi?id=212
Bug ID: 212
Summary: Internal compiler error: in expand, at
cgraphunit.c:1942
Product: GDC
Version: development
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gdc
Assignee: ibuclaw at gdcproject.org
Reporter: ibuclaw at gdcproject.org
---
template hasElaborateAssign(S)
{
enum hasElaborateAssign = is(typeof(S.init.opAssign(rvalueOf!S))) ||
is(typeof(lvalueOf!S)) ;
}
T rvalueOf(T)();
T lvalueOf(T)();
///
template TypeTuple(TList...)
{
alias TypeTuple = TList;
}
///
template Tuple()
{
struct Tuple
{
void opAssign(R)(R)
{
if (hasElaborateAssign!R)
{
}
}
}
}
///
ref emplaceRef()
{
static if (!hasElaborateAssign!(Tuple!()))
chunk;
}
///
class TaskPool
{
void reduce()
{
Tuple!() seed = void;
Tuple!()[] results;
foreach(i; TypeTuple!(0, 1))
results[i] = seed;
}
}
---
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20160213/763c8229/attachment.html>
More information about the D.gnu
mailing list