[Issue 11944] New: ICE(expression.c) Assertion `f' failed.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 17 20:38:28 PST 2014


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: nobody at puremagic.com
        ReportedBy: redballoon36 at gmail.com


--- Comment #0 from Paul O'Neil <redballoon36 at gmail.com> 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: -------


More information about the Digitalmars-d-bugs mailing list