www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15214] New: ICE in Mangler::mangleFunc

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

          Issue ID: 15214
           Summary: ICE in Mangler::mangleFunc
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: anoneuron gmail.com

Not much to say really:
http://dpaste.dzfl.pl/ea145fd8a4d3

Source:
    void main() {
        cast(void) x=>mixin(x)("mixin(x);");
    };

Output:
    [<filename>.d(2)] __lambda1 (x)
    Assertion failure: '0' on line 384 in file 'mangle.c'

Tested on x86 and x64, DMD 2.068.2 and DMD 2.069

--
Oct 17 2015