On Thursday, 29 June 2017 at 20:21:13 UTC, Ali Çehreli wrote:
A workaround is to use a lambda:filter!(a => isValid(a))(array)
Thanks! Nice trick, this is definitely going into my company's codebase :-)
Such limitations are pretty annoying. There were a number of similar issues in recent dmd releases. Please file a bug if it's not already there:
Thanks, will do!