On Friday, 29 July 2022 at 23:15:14 UTC, Salih Dincer wrote:
It's smart to use `delegate`, but `immutable` doesn't
necessarily mean `const`. So if we use `const char`:
```d
struct S
{
char s;
void delegate(char s) update;
}
```
Pardon 😀
I forgot the assert test, also writing const in front of char...
Won't compile now:
```d
struct S
{
const char s;
void delegate(const char s) update;
}
```
SDB@79
