Examples Wanted: Usages of "body" as a Symbol Name

pineapple via Digitalmars-d digitalmars-d at puremagic.com
Thu Oct 6 02:19:29 PDT 2016


On Thursday, 6 October 2016 at 06:38:06 UTC, Jonathan M Davis 
wrote:
> Yeah, the fact that the body keyword is not required normally 
> but is when you have in/out contracts is annoying, completely 
> aside from what the keyword used is. I don't care much about 
> losing the name body to a keyword, but I definitely don't like 
> that you have to use a keyword for a function body when you 
> have in/out contracts. It doesn't seem like it should be 
> necessary, and it's inconsistent with the normal case.
>
> - Jonathan M Davis

I agree 100%.



More information about the Digitalmars-d mailing list