[Issue 7173] New: dmd: glue.c:1065: virtual unsigned int Type::totym(): Assertion `0' failed.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Dec 27 07:56:14 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7173
Summary: dmd: glue.c:1065: virtual unsigned int Type::totym():
Assertion `0' failed.
Product: D
Version: D2
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: iteronvexor at gmail.com
--- Comment #0 from iteronvexor at gmail.com 2011-12-27 07:56:11 PST ---
struct A{
A opBinary(string op)(A a){ A rt; return rt; }
void fun(){ }
}
struct B{
A _a;
alias _a this;
}
void main(){
B b1, b2, b3; b3 = (b1 - b2).fun();
}
The above code causes:
dmd: glue.c:1065: virtual unsigned int Type::totym(): Assertion `0' failed.
Aborted
--
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