bug?

Daniel Kozak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 15 07:00:27 PDT 2016


Dne 15.9.2016 v 15:57 rikki cattermole via Digitalmars-d-learn napsal(a):

> On 16/09/2016 1:54 AM, deed wrote:
>> void main ()
>> {
>>     new int[](1);
>> }
>>
>> Compiles with dmd 2.071.2-b2, but no code is generated for `new 
>> int[](1);`.
>> Caused a bug due to:
>>
>> char[] arr;
>> got updated to
>> char[] arr; new char[](SIZE);
>>
>> If it's considered a bug and someone would file it, I'd be thankful.
>
> Not a bug, it is never used.
exactly


More information about the Digitalmars-d-learn mailing list