"body" keyword is unnecessary
Meta
jared771 at gmail.com
Sun Nov 19 21:26:26 UTC 2017
On Sunday, 19 November 2017 at 21:14:58 UTC, Jonathan M Davis
wrote:
> It would have been better to explain in the documentation that
> body was being phased out rather than just removing it right
> when the changes were made to dmd. It's already caused problems
> due to folks trying to use do and it not working with the
> compiler that they're using (e.g. ldc).
>
> https://stackoverflow.com/questions/46860573/do-ldc-and-gdc-support-d-language-contracts
>
> - Jonathan M Davis
Yeah, you're right. I never use GDC/LDC so I didn't consider them.
More information about the Digitalmars-d
mailing list