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



--- Comment #7 from Kenji Hara <k.hara...@gmail.com> 2012-01-16 16:11:52 PST ---
> I think fn in
> 
> auto fn = { ... };
> 
> should be the same thing - a name for a function. I guess that's not easy to
> implement. Kenji, Walter?

Rewriting it to true function declaration is easy, but
fn is looks like a variable so peaple will try to
rebind it with assignment:

  fn = { writeln("another function literal"); };

and will get an error. It is inconsistent.

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

Reply via email to