import std.stdio; void main() { string foo = "foo"; int[] bar = [ 42 ]; writeln(*foo, *bar); // prints "f42" } I don't think this is intended and should be disallowed.
See bug 3990
*** This issue has been marked as a duplicate of issue 3990 ***