http://d.puremagic.com/issues/show_bug.cgi?id=3235
--- Comment #5 from Andrei Alexandrescu 2011-04-28
13:39:40 PDT ---
BTW this is in TDPL now, with Walter's approval.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: -
http://d.puremagic.com/issues/show_bug.cgi?id=3235
Andrei Alexandrescu changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|INVAL
http://d.puremagic.com/issues/show_bug.cgi?id=3235
--- Comment #3 from Andrei Alexandrescu 2009-08-08
11:55:19 PDT ---
(In reply to comment #2)
> This is as designed.
>
> http://www.digitalmars.com/d/1.0/expression.html#FunctionLiteral
> "If the keywords function or delegate are omitted, i
http://d.puremagic.com/issues/show_bug.cgi?id=3235
Stewart Gordon changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=3235
--- Comment #1 from Andrei Alexandrescu 2009-08-08
07:17:17 PDT ---
(In reply to comment #0)
> Consider:
>
> void foo(alias pred)() {
> pragma(msg, pred.stringof);
> }
>
> unittest {
> foo!((i) { return i < 0; })();
> int z =