http://d.puremagic.com/issues/show_bug.cgi?id=2260
------- Comment #2 from [email protected] 2008-12-30 04:27 ------- import tango.io.Stdout; class inner (alias F) { } template outer(alias B) { void function( inner!(B) ) outer; } template rawmanglednameof(alias A) { const char[] rawmanglednameof = typeof(&outer!(A)).mangleof; } void func (int i, out int j, ref int k, lazy int m, ...) { } int main (char[][] args) { Stdout.formatln ("{}", rawmanglednameof !(func)); Stdout.formatln ("{}", rawmanglednameof !(args)); return 0; } Okay, this one compiles with Tango. For Phobos you can just replace the Stdout.formatln by its writefln equivalent. The bug is not library dependent. --
