[Issue 5026] New: Incomplete mixin expression + char[] to char assignment = assertion failure in expression.c

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 9 11:10:38 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=5026

           Summary: Incomplete mixin expression + char[] to char
                    assignment = assertion failure in expression.c
           Product: D
           Version: D1
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: strtr at despam.it


--- Comment #0 from strtr at despam.it 2010-10-09 11:10:11 PDT ---
Assertion failure: '0' on line 1342 in file 'expression.c'

void foo() {
    char[0] code;
    code[0] = "";
}
struct Bar {
    int i = mixin(foo());
}
void main() {}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list