https://d.puremagic.com/issues/show_bug.cgi?id=9256


bearophile_h...@eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #3 from bearophile_h...@eml.cc 2013-11-17 03:40:46 PST ---
(In reply to comment #2)
> Now gives both:
> 
> testx.d(5): Error: pure nested function 'main' cannot access mutable data 'x'
> testx.d(5): Error: need 'this' for 'x' of type 'int'
> 
> Good enough?

It's good enough, issue closed.

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

Reply via email to