digitalmars.D.bugs - [Issue 2588] New: std.signals should not use 'length' stealth keyword in indexing
- d-bugmail puremagic.com (22/22) Jan 16 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2588
- d-bugmail puremagic.com (10/10) May 04 2012 http://d.puremagic.com/issues/show_bug.cgi?id=2588
http://d.puremagic.com/issues/show_bug.cgi?id=2588 Summary: std.signals should not use 'length' stealth keyword in indexing Product: D Version: 1.037 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: bugzilla digitalmars.com ReportedBy: wbaxter gmail.com Around line 182 this line appears in std.signals: slots[slots_idx + 1 .. length] = null; This should be changed to: slots[slots_idx + 1 .. $] = null; Or it will fail to compile when Signal is mixed into any class that defines a .length member. Oh, and that usage of 'length' should be killed entirely because it's just a bad idea, as has been discussed before. --
Jan 16 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2588 Denis <verylonglogin.reg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |verylonglogin.reg gmail.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 04 2012