what wrong with this alias

Qusatlegadus no at thanks.com
Sun Jan 8 05:42:46 UTC 2023


     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?


More information about the Digitalmars-d-learn mailing list