[Bug 83] New: Assertion failure: 3567 'expression.c', crossaliasing problem
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 3 23:53:29 PDT 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=83
Summary: Assertion failure: 3567 'expression.c', crossaliasing
problem
Product: D
Version: 0.151
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P3
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: nail-mail at mail.ru
template T1()
{
alias T2!().myproperty myproperty;
real myproperty()
{
return 0;
}
}
template T2()
{
alias T1!().myproperty myproperty;
void myproperty(real x)
{
}
}
class C(alias M1, alias M2)
{
mixin M1!();
mixin M2!();
}
void main()
{
auto c = new C!(T1,T2);
c.myproperty = 0;
}
Compilation gives some errors and:
Assertion failure: 'type' on line 3567 in file 'expression.c'
abnormal program termination
--
More information about the Digitalmars-d-bugs
mailing list