digitalmars.D.bugs - [Issue 9610] New: Parameters to final class method corrupted in postcondition
- d-bugmail puremagic.com (23/23) Feb 27 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9610
- d-bugmail puremagic.com (11/11) Feb 27 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9610
http://d.puremagic.com/issues/show_bug.cgi?id=9610 Summary: Parameters to final class method corrupted in postcondition Product: D Version: D2 Platform: All OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: pearfalse googlemail.com PST --- Created an attachment (id=1195) Shows how permutations of pre- and post-conditions affect parameter integrity. In the postcondition of a class method marked as final, method parameters are in scope, but have corrupted values. This happens if the method has no precondition, OR a precondition that doesn't access any function parameters. Tested with dmd git v2.060-1496-g2352d02 on OS X 10.8.2. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 27 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9610 Maxim Fomin <maxim maxim-fomin.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maxim maxim-fomin.ru OS/Version|Mac OS X |All --- I can reproduce on linux, remove OS specific tag. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 27 2013