Enhancements can enable memory-safe reference counting
Imperatorn
johan_forsberg_86 at hotmail.com
Sat Nov 20 08:58:15 UTC 2021
On Saturday, 20 November 2021 at 08:08:44 UTC, tsbockman wrote:
> 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
Nice, this one should not be that hard to fix.
Does someone have time to look at it?
More information about the Digitalmars-d
mailing list