[Issue 15043] [e2ir] dmd still crashes when trying to set a delegate from __traits(getOverloads)
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Sep 11 15:58:28 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=15043
bb.temp at gmx.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |normal
--- Comment #1 from bb.temp at gmx.com ---
Lowered importance. Actually the problem seems to come from a lValue/rValue
thing because when using an intermediate variable to carry the delegate then
this works:
---
static if (member == "bar")
{
auto dg = &overload; // OK with intermediate value
setDg(dg);
}
---
--
More information about the Digitalmars-d-bugs
mailing list