https://issues.dlang.org/show_bug.cgi?id=14682

--- Comment #9 from Steven Schveighoffer <[email protected]> ---
(In reply to Vladimir Panteleev from comment #8)
> (In reply to Steven Schveighoffer from comment #6)
> > Could you do:
> > 
> > (config.noDateTime ? ["NODATETIME=nodatetime.ddoc"] : string[].init)
> 
> That's not where the problem lies - this was just an example.

I was responding to this:

(In reply to Vladimir Panteleev from comment #5)
> I think it should be fixed, because if you want to append [""], you can do
> so explicitly, but if you want to append an empty array, there is no
> convenient syntax for it.

I suppose you can call that "inconvenient" syntax, but it's not that bad IMO.

--

Reply via email to