← Back to index
|
Original Bugzilla link
Bug 11288 – dmd assertion when assigning to (static) opDispatch
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-10-17T04:50:00Z
Last change time
2013-11-14T04:03:58Z
Assigned to
nobody
Creator
alexander.breckel
Comments
Comment #0
by alexander.breckel — 2013-10-17T04:50:25Z
struct A { void opDispatch(string s, T)(T x) { // static doesn't work either } } void main() { A.test = true; // dmd: expression.c:10803: virtual Expression* AssignExp::semantic(Scope*): Assertion `e1->type' failed. }
Comment #1
by yebblies — 2013-11-14T04:03:58Z
Seems to be fixed.