On 3/22/14, "Nordlöw" <[email protected]> wrote:
> DMD currently cannot infer aliases to be callable using UCFS
> unfortunately

Actually you're running into UFCS not working for module-scoped
imports. The following will work:

-----
import std.stdio: wln = writeln;
import std.string;
alias toStringz z;

void main()
{
    wln(typeof("a".z).stringof);  // works ok
}
-----

UFCS not working for module-scoped imports is a filed bug.

Reply via email to