[Issue 7082] New: Assertion failure: '!vthis->csym' on line 678 in file 'glue.c'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 8 16:19:54 PST 2011


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

           Summary: Assertion failure: '!vthis->csym' on line 678 in file
                    'glue.c'
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: dsimcha at yahoo.com


--- Comment #0 from David Simcha <dsimcha at yahoo.com> 2011-12-08 16:19:51 PST ---
Happens only with -inline

int expression( string op, Lhs, Rhs )
( auto ref Lhs lhs, auto ref Rhs rhs ) {
    return 0;
}

struct BasicMatrix( Storage_ ) {
    auto opBinary( string op, NewRhs )( auto ref NewRhs newRhs ) {
        alias this thisConverted;      
        return expression!op( thisConverted, newRhs );
    }
}

void ridgeLargeP() {
    BasicMatrix!double cwc;
    auto foo = cwc * cwc;
}

Assertion failure: '!vthis->csym' on line 678 in file 'glue.c'

-- 
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