http://d.puremagic.com/issues/show_bug.cgi?id=11288
Summary: dmd assertion when assigning to (static) opDispatch
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from aneas <[email protected]> 2013-10-17 04:50:25 PDT
---
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.
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------