Enhancements can enable memory-safe reference counting

tsbockman thomas.bockman at gmail.com
Sat Nov 20 08:08:44 UTC 2021


On Friday, 14 May 2021 at 00:45:09 UTC, tsbockman wrote:
> ```D
> class D { }
> ```
> ```
> a: ACCEPTS INVALID: static D = return D
> ```

I reduced this once and filed an issue for it, since it is the 
worst of the bunch:

"Template breaks return annotation for class reference returned 
by struct method"
https://issues.dlang.org/show_bug.cgi?id=22528


More information about the Digitalmars-d mailing list