[Issue 21762] object.destroy may silently fail depending on whether a member function is a template

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 24 23:39:25 UTC 2021


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

--- Comment #6 from moonlightsentinel at disroot.org ---
(In reply to moonlightsentinel from comment #5)
> (In reply to moonlightsentinel from comment #4)
> > Interestingly, the test case works if B and C are declared outside of main.
> 
> Seems like this was enabled by https://github.com/dlang/dmd/pull/5075

Wrong link:
https://github.com/dlang/dmd/pull/5075/commits/8e4676303a688ce3a034b38508b5e5b8c7bfa7e0

--


More information about the Digitalmars-d-bugs mailing list