Re: Is T.init allowed?

2022-04-29 Thread Andrey Zherikov via Digitalmars-d-learn

On Friday, 29 April 2022 at 12:05:35 UTC, Dennis wrote:

On Friday, 29 April 2022 at 11:30:49 UTC, Andrey Zherikov wrote:

Is it a compiler issue so this shouldn't be allowed?


Members called `init` are in the process of being deprecated, 
see:


https://github.com/dlang/dmd/pull/12512


That's nice!


Re: Is T.init allowed?

2022-04-29 Thread Dennis via Digitalmars-d-learn

On Friday, 29 April 2022 at 11:30:49 UTC, Andrey Zherikov wrote:

Is it a compiler issue so this shouldn't be allowed?


Members called `init` are in the process of being deprecated, see:

https://github.com/dlang/dmd/pull/12512