"body" keyword is unnecessary
Seb
seb at wilzba.ch
Sun Nov 19 07:21:32 UTC 2017
On Sunday, 19 November 2017 at 04:57:11 UTC, Tony wrote:
> On Saturday, 18 November 2017 at 19:22:25 UTC, Meta wrote:
>> On Saturday, 18 November 2017 at 16:21:30 UTC, Eljay wrote:
>>> [...]
>>
>> Don't worry, you've got a few years yet. Currently `body`is
>> not even deprecated; it's become a conditional keyword, or you
>> can use `do` in its place.
>
> It may be deprecated, but someone completely removed it from
> the documentation on contracts. That could cause some confusion
> for people using older versions of the compiler.
>
> https://dlang.org/spec/contracts.html
That's what the docarchives are for:
https://docarchives.dlang.io/v2.074.0/spec/contracts.html
More information about the Digitalmars-d
mailing list