[Issue 21868] DIP1000 doesn't catch pointer to struct temporary

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 7 01:44:55 UTC 2021


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

--- Comment #7 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to Walter Bright from comment #5)
> Minimized test case:
> 
>   ref int test(ref scope return int* p)
>   {
>      return *p;
>   }

This is a separate bug, so moved to:

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

--


More information about the Digitalmars-d-bugs mailing list