Is implicit string literal concatenation a good thing?

Frank Benoit keinfarbton at googlemail.com
Wed Feb 25 06:58:44 PST 2009


Miles schrieb:
> Frank Benoit wrote:
>> Find the bug:
>>     static string[] KEYWORDS = [ "abstract", "alias", "align", "asm",
> 
> Out of curiosity, are you trying to create a D parser? Because
> "private:", "protected:", "public:" and "~this" are not keywords.

Thats just a snippets I got from a dwt user.
After pasting that into a Java source file, i got an error for the
missing comma, and I found that interesting.



More information about the Digitalmars-d mailing list