"body" keyword is unnecessary

Nick Treleaven nick at geany.org
Tue Nov 21 13:48:01 UTC 2017


On Sunday, 19 November 2017 at 11:54:04 UTC, Tony wrote:
> dmd --version
> DMD64 D Compiler v2.077.0
> Copyright (c) 1999-2017 by Digital Mars written by Walter Bright
>
> dmd test_contracts.d
> test_contracts.d(13): Error: missing `body { ... }` after `in` 
> or `out`

Just made a pull to fix this:
https://github.com/dlang/dmd/pull/7347


More information about the Digitalmars-d mailing list