www.digitalmars.com         C & C++   DMDScript  

D - BUG: Can't Concatenate Literal Arrays

This code fails (on DLI) with the error "Error: array dimensions 4 and 3
don't match/Error: cannot implicitly convert wchar[3] to char[]"

int main()
{
  char[] str = "asdf"~"jkl";
  return 0;
}

--
The Villagers are Online! http://villagersonline.com

.[ (the fox.(quick,brown)) jumped.over(the dog.lazy) ]
.[ (a version.of(English).(precise.more)) is(possible) ]
?[ you want.to(help(develop(it))) ]
Sep 25 2002