http://d.puremagic.com/issues/show_bug.cgi?id=9971
--- Comment #3 from Maxim Fomin <[email protected]> 2013-04-20 22:32:39 PDT --- (In reply to comment #2) > It is inconsistent with the way templated structs and classes work: > > void main() { > alias T!(int) t1; > } > > struct T(j) { > pragma(msg, "a struct ",T); // T is the struct > } > pragma(msg, "a template ", T); // T is the template Sorry I don't see your point. Note, that second message is printed irrespective to instantiation and none of the messages is sensitive to what T is really is. void main() { alias T!(int) t1; } struct T(j) { //pragma(msg, "a struct ",T); // T is the struct pragma(msg, T.stringof); } //pragma(msg, "a template ", T); // T is the template pragma(msg, T.stringof); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
