Immutable separator to join() doesn't work

Mehrdad wfunction at hotmail.com
Sun Jul 10 21:09:27 PDT 2011


I noticed that the code below doesn't work, and I was wondering if it's 
by design (hopefully not):

     immutable SEP = ", ";
     ["a", "b"].join(SEP);

The fact that SEP is immutable(char[]) instead of immutable(char)[] 
shouldn't break the function.


More information about the Digitalmars-d mailing list