[Issue 20670] immutable template specialization pattern matches immutable struct, strips immutable

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 14 18:58:04 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=20670

--- Comment #15 from Dennis <dkorpel at live.nl> ---
(In reply to FeepingCreature from comment #13)
> This is how we want every struct in the domain layer to look.

Would this work?
```
struct S {
    immutable:
    // fields...
}
```

--


More information about the Digitalmars-d-bugs mailing list