Thread overview
[Issue 9175] std.algorithm.remove!(predicate) problems
Dec 02, 2015
Infiltrator
Sep 17, 2019
Andrea Fontana
Nov 19, 2019
Basile-z
Mar 21, 2020
Basile-z
December 02, 2015
https://issues.dlang.org/show_bug.cgi?id=9175

Infiltrator <lt.infiltrator@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lt.infiltrator@gmail.com
          Component|phobos                      |dmd

--- Comment #1 from Infiltrator <lt.infiltrator@gmail.com> ---
The last example works in 2.069.

The second example looks to be a compiler issue rather than a phobos issue, so I'm changing the component to dmd.

--
September 17, 2019
https://issues.dlang.org/show_bug.cgi?id=9175

Andrea Fontana <trikkuz@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trikkuz@gmail.com

--- Comment #2 from Andrea Fontana <trikkuz@gmail.com> ---
In my opinion the second example correctly fails.

Indeed p can't be read at compile time. If you replace auto with enum or immutable the example works fine.

The third example works correctly so I guess we can close this issue.

--
November 19, 2019
https://issues.dlang.org/show_bug.cgi?id=9175

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

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

--- Comment #3 from Basile-z <b2.temp@gmx.com> ---
or alias

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

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

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

--