Walter Bright <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |
         Resolution|                            |INVALID

--- Comment #1 from Walter Bright <> 2011-03-12 
00:50:04 PST ---
Right. {auto s1=s;} is a delegate literal. Delegate literals need to be able to
survive the end of the function they are defined inside. Since s is destroyed
upon the exit from main(), then this will not work, hence the error message.

This is expected behavior, not a bug.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to