Thread overview
[Issue 15734] Need this for map
Mar 10, 2016
Kenji Hara
Mar 10, 2016
Temtaime
Mar 10, 2016
Temtaime
Jan 15, 2017
b2.temp@gmx.com
Mar 21, 2020
Basile-z
March 10, 2016
https://issues.dlang.org/show_bug.cgi?id=15734

--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> ---
Since 2.030 to 2.070, all versions fail to compile the code.

Which version has succeed to compile with?

--
March 10, 2016
https://issues.dlang.org/show_bug.cgi?id=15734

--- Comment #2 from Temtaime <temtaime@gmail.com> ---
Hmmm, i though it was combpilable some time ago
OK, not a regression then

--
March 10, 2016
https://issues.dlang.org/show_bug.cgi?id=15734

Temtaime <temtaime@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|regression                  |normal

--
January 15, 2017
https://issues.dlang.org/show_bug.cgi?id=15734

b2.temp@gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |b2.temp@gmx.com
         Resolution|---                         |INVALID

--- Comment #3 from b2.temp@gmx.com ---
foo is a member function but map takes an alias to a function that must be known at compile time. change definition to

static int foo(int a) { return a; }

and it works

--
March 21, 2020
https://issues.dlang.org/show_bug.cgi?id=15734

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|b2.temp@gmx.com             |

--