[Issue 7204] New: [CTFE] Assertion failure when attempting to access function pointer of delegate
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 2 12:40:20 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7204
Summary: [CTFE] Assertion failure when attempting to access
function pointer of delegate
Product: D
Version: D2
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: robert at octarineparrot.com
--- Comment #0 from Robert Clipsham <robert at octarineparrot.com> 2012-01-02 20:40:18 GMT ---
----
auto foo()
{
void delegate() myDg;
return myDg.funcptr;
}
enum _ = foo();
----
This gives an assertion failure using dmd 2.057:
Assertion failed: (IsStackValueValid(newval)), function createStackValue, file
interpret.c, line 6262.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list