http://d.puremagic.com/issues/show_bug.cgi?id=5270


timon.g...@gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |timon.g...@gmx.ch
         Resolution|WORKSFORME                  |


--- Comment #2 from timon.g...@gmx.ch 2012-01-24 07:38:16 PST ---
The issue is that "it compiles and runs without error". (the second assertion
asserts that there is memory corruption) The compiler has to either:

- enforce the 'scope' storage class in @safe mode by flow-analysis.
- not perform the scope delegate optimization in @safe mode.

Change the second assertion to 'assert (x == 123);' to see the error.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to