[Issue 4556] Misbehaving nested function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 19 22:04:48 PDT 2011


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|rejects-valid               |


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2011-05-19 22:00:38 PDT ---
This was not a rejects-valid. The compiler doesn't reject, it accepts the two
code snippets.

But I think they're both correct. I've seen code similar to this in TDPL. The
compiler does all the work of creating delegates when needed, right? So the
docs should be updated to reflect that.

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


More information about the Digitalmars-d-bugs mailing list