http://d.puremagic.com/issues/show_bug.cgi?id=7231
Summary: Segfault using opDispatch with property notation Product: D Version: D2 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: rob...@octarineparrot.com --- Comment #0 from Robert Clipsham <rob...@octarineparrot.com> 2012-01-05 13:52:06 GMT --- The following testcase segfaults with dmd 2.057: ---- struct Contract { @property void opDispatch(string name, T)(T value) { } } void validate() { Contract title; title.maxLength(255); // Works title.maxLength = 255; // Segfault } ---- When compiled with dmd -c test.d, tested on OS X 64 and Ubuntu 32. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------