[Issue 12907] New: [ICE] Assertion failure '0' in 'mangle.c' when using `auto` return type with lambda with dereferanced `function` call

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jun 13 01:10:40 PDT 2014


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

          Issue ID: 12907
           Summary: [ICE] Assertion failure '0' in 'mangle.c' when using
                    `auto` return type with lambda with dereferanced
                    `function` call
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: ice
          Severity: major
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: verylonglogin.reg at gmail.com

This code should compile:
---
auto f(void function() g)
{
    return x => (*g)();
}
---

--


More information about the Digitalmars-d-bugs mailing list