Changing the behavior of the comma operator

Kagamin spam at here.lot
Wed Mar 26 07:24:59 PDT 2014


On Wednesday, 26 March 2014 at 11:08:45 UTC, Andrej Mitrovic 
wrote:
> Have you never experienced this bug before?
>
> enum vals = [
>     "afoo01foo01",
>     "bbar02foo02",
>     "cdoo03foo03",
>     "dfoo01foo04",
>     "ebar02foo01",
>     "fdoo03foo02",
>     "gfoo01foo03",
>     "hbar02foo04",
>     "aidoo03foo01"
>     "jfoo01foo02a",
>     "kbar02foo03",
>     "ldoo03foo04",
> ];

In such case I add lines by copying other lines, so there's 
little chance to miss a comma. Well, I don't think you can find 
someone, who would defend implicit concatenation.


More information about the Digitalmars-d mailing list