Hi Michael, your code works for me (DMD 2.061, Linux), with a semicolon after the alias in class Bar.
Also, use writeln, not writefln, because writefln assumes the first parameter is the formatting string.
Hi Michael, your code works for me (DMD 2.061, Linux), with a semicolon after the alias in class Bar.
Also, use writeln, not writefln, because writefln assumes the first parameter is the formatting string.