https://d.puremagic.com/issues/show_bug.cgi?id=11944
Summary: ICE(expression.c) Assertion `f' failed.
Product: D
Version: D2
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Paul O'Neil <[email protected]> 2014-01-17 20:38:26
PST ---
The error occurs in both 2.064.2 and git master
2b521dde09ca7e09fa71e373a7d13cdddc06dd2d. Tested on Linux, x86_64.
The full message is:
dmd: expression.c:9330: virtual Expression* AddrExp::semantic(Scope*):
Assertion `f' failed.
The following code causes the assertion failure:
void aFunc(int var)
{
}
void do_command(func, T)(func, T arg)
{
}
auto var = &do_command!aFunc;
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------