Dynamic Array Garbage collection

grauzone none at example.net
Tue Feb 24 20:08:02 PST 2009

Jarrett Billingsley wrote:
> On Tue, Feb 24, 2009 at 10:42 PM, Daniel Keep
> <daniel.keep.lists at gmail.com> wrote:
>>> You missed the array literal.
>> I saw that, but thought that it would be a short[] literal since it's
>> usually the type of the first argument.
> Odd, it works.  And properly too.

Could it be because of integer promotion rules?

> I give up on trying to figure out what the compiler does to figure out
> the type of array literals :P

More information about the Digitalmars-d-learn mailing list