Thread overview | ||||||
---|---|---|---|---|---|---|
|
May 31, 2013 alias this | ||||
---|---|---|---|---|
| ||||
I thougth that in dmd 2.063 alias this : foo; would be allowed. That was what the preview of dmd 2.063 said: http://dlang.org/changelog.html#new2_062 Why wasn't it implemented? |
May 31, 2013 Re: alias this | ||||
---|---|---|---|---|
| ||||
Posted in reply to Namespace | On 05/31/2013 05:12 AM, Namespace wrote: > I thougth that in dmd 2.063 alias this : foo; would be allowed. You mean the equal sign? alias this = foo; That was implemented in 2.061 by accident likely due to a confusion whether the new alias syntax should apply to 'alias this' as well. > That was what the preview of dmd 2.063 said: > http://dlang.org/changelog.html#new2_062 > Why wasn't it implemented? You will notice that it is about removing the "alias foo = int" syntax in 2.062 (not related to 2.063). (That page contains the changes about more than one version.) Ali |
May 31, 2013 Re: alias this | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli | No, I meant the colon. alias this : foo; |
May 31, 2013 Re: alias this | ||||
---|---|---|---|---|
| ||||
Posted in reply to Namespace | On 2013-05-31, 14:12, Namespace wrote: > I thougth that in dmd 2.063 alias this : foo; would be allowed. > That was what the preview of dmd 2.063 said: > http://dlang.org/changelog.html#new2_062 > Why wasn't it implemented? Probably not enough time. I've not read anything about it no longer being planned. -- Simen |
Copyright © 1999-2021 by the D Language Foundation