[dmd-beta] dmd 1.071 and 2.056 beta 3

Don Clugston dclugston at googlemail.com
Tue Oct 25 23:45:10 PDT 2011


On 25 October 2011 20:47, Walter Bright <walter at digitalmars.com> wrote:
>
>
> On 10/25/2011 2:02 AM, Don Clugston wrote:
>>
>> On 25 October 2011 02:56, Walter Bright<walter at digitalmars.com>  wrote:
>>>
>>> http://ftp.digitalmars.com/dmd1beta.zip
>>> http://ftp.digitalmars.com/dmd2beta.zip
>>
>> Two D1 issues, both very quick to fix:
>> (1)  From github, d1 doesn't compile. expression.h hasn't been updated
>> (the signature for RemoveExp::interpret is missing).
>
> Done.
>
>> (2) The regression 6235 still fails on D1, it hasn't been merged
>> across from D2. It's just a couple of lines to change in dsymbol.c
>> around line 1150.
>
> Can you be more specific?

The last pull request (#474) didn't get merged into D1. It was only 3 lines:

            else
            {   /* For arrays, $ will either be a compile-time constant
                 * (in which case its value in set during constant-folding),
                 * or a variable (in which case an expression is created in
                 * toir.c).
                 */
-                v->init = new VoidInitializer(0);
+                VoidInitializer *e = new VoidInitializer(0);
+                e->type = Type::tsize_t;
 +               v->init = e;
            }
            *pvar = v;

But it's hardly worth delaying the release just for this.


More information about the dmd-beta mailing list