www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12841] New: ICE on taking function address

https://issues.dlang.org/show_bug.cgi?id=12841

          Issue ID: 12841
           Summary: ICE on taking function address
           Product: D
           Version: unspecified
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: john.loughran.colvin gmail.com

import std.parallelism;

void main()
{
        auto parallelResults = &(taskPool.amap!"a.result()");
}

dmd: expression.c:9086: virtual Expression* AddrExp::semantic(Scope*):
Assertion `f' failed.

--
Jun 02 2014