Suliman:

But why variant:
static const int PGSQL_UNITTEST_PORT = 5432;

do not require of implicit convert to!short() at connection string?

Because value range analysis now propagates the range even across expressions if they are const. It's a recent improvement to make the D compile a bit less stupid.

Bye,
bearophile

Reply via email to