← Back to index
|
Original Bugzilla link
Bug 7173 – dmd: glue.c:1065: virtual unsigned int Type::totym(): Assertion `0' failed.
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2011-12-27T07:56:00Z
Last change time
2011-12-27T12:04:52Z
Keywords
ice-on-invalid-code, patch
Assigned to
nobody
Creator
iteronvexor
Comments
Comment #0
by iteronvexor — 2011-12-27T07:56:11Z
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
Comment #1
by k.hara.pg — 2011-12-27T09:20:33Z
https://github.com/D-Programming-Language/dmd/pull/587
Comment #2
by jcao219 — 2011-12-27T11:42:20Z
Is this related to bug6774?
Comment #3
by bugzilla — 2011-12-27T12:04:52Z
https://github.com/D-Programming-Language/dmd/commit/6d9392e6907d5034a4eb8fcf49315c59087d77dc
https://github.com/D-Programming-Language/dmd/commit/37648853afffac816c0b931aafeb2a2637589ae9