[Issue 9928] New: ice with void* and function literal
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Apr 13 10:40:09 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9928
Summary: ice with void* and function literal
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: ice, rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: zheny at list.ru
--- Comment #0 from Zhenya Chapovsky <zheny at list.ru> 2013-04-13 10:40:09 PDT ---
void main()
{
void* smth = (int x) {return x;};
}
This code fails with message:
dmd: cast.c:1763: virtual Expression* FuncExp::castTo(Scope*, Type*): Assertion
`e->type->nextOf()->covariant(t->nextOf()) == 1' failed.
--
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