digitalmars.D.bugs - [Issue 11317] New: glue.c:1218: virtual unsigned int Type::totym(): Assertion `0' failed.
- d-bugmail puremagic.com (36/36) Oct 21 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11317
http://d.puremagic.com/issues/show_bug.cgi?id=11317 Summary: glue.c:1218: virtual unsigned int Type::totym(): Assertion `0' failed. Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: rswhite4 googlemail.com struct Test { public: property auto ref uint length() const pure nothrow { return 0; } property void length(uint len) { } } void main() { Test t; t.length += 2; } Throws: /d259/f777.d(7): Error: constant 0u is not an lvalue dmd: glue.c:1218: virtual unsigned int Type::totym(): Assertion `0' failed. with dmd 2.063.2 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 21 2013