[Issue 19906] __traits(isRef) always yields false for auto ref parameter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 28 00:33:26 UTC 2019


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

Sprink <sprink.noreply at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sprink.noreply at gmail.com

--- Comment #2 from Sprink <sprink.noreply at gmail.com> ---
The issue here is specifically with is().

__traits(isRef, x) produces the correct value and works correctly if you remove
is().

--


More information about the Digitalmars-d-bugs mailing list