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: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Simon Harris <[email protected]> 2013-02-27 10:34:24 
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: -------

Reply via email to