"body" keyword is unnecessary

bauss jj_1337 at live.dk
Sat Nov 18 19:02:10 UTC 2017


On Saturday, 18 November 2017 at 16:21:30 UTC, Eljay wrote:
> On Monday, 28 March 2011 at 18:59:03 UTC, Walter Bright wrote:
>> On 3/27/2011 10:35 PM, Jonathan M Davis wrote:
>>> [...]
>>
>> Yes, I agree those are the top priority at the moment, now 
>> that we have the 64 bit compiler online and the worst of the 
>> optlink issues resolved.
>
> NECRO ALERT...
>
> But I just saw that 
> https://github.com/dlang/DIPs/blob/master/DIPs/DIP1003.md was 
> addressed with https://github.com/dlang/dmd/pull/6855 .
>
> I, for one, will miss 'body' the keyword.  Now I'll have to 
> update all my toy code.
>
> (Just kidding, I don't mind updating my toy code.  At least it 
> isn't a codebase the size of Photoshop!)

It would be easy to update anyway. Scan for body statements in 
your code and just replace it lol.


More information about the Digitalmars-d mailing list