http://d.puremagic.com/issues/show_bug.cgi?id=1986
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic ------- Comment #3 from [email protected] 2008-12-16 10:08 ------- Added keyword diagnostic and simplified example, should error message should say "test.d(5): Error: argument to mixin must be a *invariant char[]* not (*invariant(char)[]*)"? test.d ------ invariant char[] str1 = "int x1;"; // OK mixin(str1); // OK string str2 = "int x2;"; mixin(str2); // Fails, test.d(5): Error: argument to mixin must be a string, not (str2) --
