Dynamic Array Garbage collection

Jarrett Billingsley jarrett.billingsley at gmail.com
Tue Feb 24 19:58:58 PST 2009


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.

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