`string[] args` can't be read at compile time?
Adam D. Ruppe
destructionator at gmail.com
Sun Dec 10 15:46:57 UTC 2017
On Sunday, 10 December 2017 at 15:28:19 UTC, Unazed Spectaculum
wrote:
> if (!exists!(args[1]))
That should be `!exists(args[1])`. You had an extra ! in there by
the (.
Generally speaking, when there's a "cannot be read at compile
time", it is because something is initialized in a static context
and/or there's an extra ! in the arg list to get rid of.
More information about the Digitalmars-d-learn
mailing list