Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
April 01, 2009 Re: dmd 1.042 and 2.027 releases | ||||
---|---|---|---|---|
| ||||
Walter Bright: > The large volume of bug fixes is because a lot of people contributed patches. Thanks! Because you have given them a chance to do it :-) I have tested 1.042 and runs all my unittests fine. >Added alias this< I'd like a bit more explanations/examples of the usage of this feature. Bye, bearophile |
April 01, 2009 Re: dmd 1.042 and 2.027 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile | "bearophile" <bearophileHUGS@lycos.com> wrote in message news:gqvi1g$2uin$1@digitalmars.com... > Walter Bright: >> The large volume of bug fixes is because a lot of people contributed patches. Thanks! > > Because you have given them a chance to do it :-) > > I have tested 1.042 and runs all my unittests fine. > >>Added alias this< > > I'd like a bit more explanations/examples of the usage of this feature. > Yes, I'm wondering if this will finally let us do something along the lines of: template Foo() { alias "blah blah" this; // Was: const char[] Foo = "blah blah"; } |
April 01, 2009 Re: dmd 1.042 and 2.027 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile | bearophile wrote:
> I'd like a bit more explanations/examples of the usage of this feature.
The short answer - makes "wrapper" structs easy.
|
April 01, 2009 Re: dmd 1.042 and 2.027 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | "Nick Sabalausky" <a@a.a> wrote in message news:gr09qr$1793$1@digitalmars.com... > > Yes, I'm wondering if this will finally let us do something along the lines of: > > template Foo() > { > alias "blah blah" this; > // Was: const char[] Foo = "blah blah"; > } > Or, perhaps more likely, wondering if it'll let us do something like this: template Foo(T) { // Was: alias Bar!(T) Foo; alias Bar!(T) this; } |
April 01, 2009 Re: dmd 1.042 and 2.027 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile | bearophile wrote:
> Walter Bright:
>> The large volume of bug fixes is because a lot of people contributed patches. Thanks!
>
> Because you have given them a chance to do it :-)
Actually, with LDC or GDC that chance has been there for ages. The compilable release of DMD makes it easier. I know I used GDC several times over the years to debug and fix a number of issues as well as develop and test a new feature.
Later,
Brad
|
April 02, 2009 Re: dmd 1.042 and 2.027 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brad Roberts | Brad Roberts wrote: > bearophile wrote: >> Walter Bright: >>> The large volume of bug fixes is because a lot of people contributed patches. Thanks! >> Because you have given them a chance to do it :-) > > Actually, with LDC or GDC that chance has been there for ages. Not on Windows. The > compilable release of DMD makes it easier. I know I used GDC several > times over the years to debug and fix a number of issues as well as > develop and test a new feature. > > Later, > Brad |
Copyright © 1999-2021 by the D Language Foundation