Wishlist proposal, documenting fn arg as in or out or mod

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Wed Jun 21 00:55:40 UTC 2023


On 21/06/2023 3:01 AM, Cecil Ward wrote:
> I would love to be able to document my arguments

If you want a way to do it without compiler backed you can use UDA's:

```d
void main() {
     func(2);
}

enum MyThing;

void func(@MyThing int x) {
}
```


More information about the Digitalmars-d mailing list