[Issue 8560] Strange behavior of lambda expressions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 18 13:55:10 PDT 2012


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



--- Comment #2 from ilya <iu.biryukov at gmail.com> 2012-08-18 13:55:08 PDT ---
(In reply to comment #1)
> Marking as invalid, since {writeln("fun1");} is a parameterless delegate
> literal. This delegate is returned by the call to fun(), but never invoked.

Thanks, now I get it.

Though this behavior looks a bit odd to me. But that's probably because of C#
background.

-- 
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