[Issue 23985] [dip1000] return scope fails to infer after assignment

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 11 20:28:14 UTC 2023


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

--- Comment #3 from Dennis <dkorpel at live.nl> ---
(In reply to timon.gehr from comment #1)
> Do we really want `scope` inference on virtual methods?

Good point, I missed that the method is virtual. I think this would be invalid
then. (Though of course the enhancement for separate lifetimes for separate
aggregate fields still stands)

--


More information about the Digitalmars-d-bugs mailing list