D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 7082 - Assertion failure: '!vthis->csym' on line 678 in file 'glue.c'
Summary: Assertion failure: '!vthis->csym' on line 678 in file 'glue.c'
Status: RESOLVED DUPLICATE of issue 6896
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other Windows
: P2 major
Assignee: No Owner
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2011-12-08 16:19 UTC by David Simcha
Modified: 2011-12-08 16:21 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description David Simcha 2011-12-08 16:19:51 UTC
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'
Comment 1 David Simcha 2011-12-08 16:21:49 UTC

*** This issue has been marked as a duplicate of issue 6896 ***