DMD 1.031 and 2.015 releases

Jarrett Billingsley kb3ctd2 at yahoo.com
Wed Jun 18 09:54:04 PDT 2008


"Walter Bright" <newshound1 at digitalmars.com> wrote in message 
news:g3baci$qou$1 at digitalmars.com...
> Jarrett Billingsley wrote:
>> Bug 1675 -- wait, how did you fix that one?
>
> Too long identifiers get turned into an md5 hash (a suggestion made many 
> times here). It's ugly, and the names are not demanglable, but it works.

Joy upon joys.  This means Pyd and my binding library will now work 
correctly in DMDWin.

>> Will the template alias parameter extension eventually extend to being 
>> able to alias expressions in general?
>
> No, because they have to be evaluatable at compile time.

And...?

alias 5 x; // ok

int foo()
{
    return 10;
}

alias foo() y; // ok

alias some.expression z; // error, can't evaluate at compile time.

I see no issue.  The same restriction applies to const variable 
initializers.  (Or enum variables as they're so called in D2.  Lol, what a 
dumb name.) 




More information about the Digitalmars-d-announce mailing list