On 1/8/23 12:42 AM, Qusatlegadus wrote:
     auto s = 1234.to!string.map!q{a - '0'}.sum;
works fine.


but if i do an alias

     alias comb = to!string.map!q{a - '0'}

     Error: unknown, please file report on issues.dlang.org

What's wrong with this alias?

Aside from the problem with the code, that error alone deserves a bug report so...

https://issues.dlang.org/show_bug.cgi?id=23615

-Steve

Reply via email to