dmd 1.063 and 2.048 release

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Aug 11 18:03:04 PDT 2010


Works for me as well. 2.048 @ Win32.

dickl Wrote:

> On 8/11/2010 1:09 PM, Walter Bright wrote:
> > dickl wrote:
> >> I should have been a little more clear, a static this() as a member of
> >> a class.
> >
> > Still works:
> > --------------------------
> >
> > H:\cbx>type test.d
> >
> > import std.stdio;
> >
> > void main()
> > {
> > printf("hello\n");
> > }
> >
> > class C
> > {
> > static this()
> > {
> > printf("betty\n");
> > }
> > }
> >
> >
> > H:\cbx>dmd test
> >
> > H:\cbx>test
> > betty
> > hello
> >
> > H:\cbx>
> hmmm doesn't for me, but works just fine in the previous rev.



More information about the Digitalmars-d-announce mailing list