On Wednesday, 9 February 2022 at 17:48:29 UTC, Guillaume Piolat wrote:
There is also the Nim "discard" statement.

Just change the default to not allowing return values to be discarded. When you really want to, do:

```
cast(void) function_with_return_value(…)
```

Or something like that.

Reply via email to