[Issue 20881] [DIP1000] Templates seem to ignore 'return' (workaround)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 3 21:35:22 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20881
--- Comment #3 from ag0aep6g <ag0aep6g at gmail.com> ---
(In reply to Stanislav Blinov from comment #2)
> Of course we can. What ptr points to and how its value came to be is
> irrelevant for this test case, thus omitted.
Please show an example. When I tried returning a problematic pointer, DMD
showed the same error as in the `Correct` case.
--
More information about the Digitalmars-d-bugs
mailing list