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

Maksim Zholudev <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Maksim Zholudev <[email protected]> ---
DMD 2.070.2
--------------------
inout(int) bar(inout(int) y = 0){return y;}
pragma(msg, typeof(bar()));
pragma(msg, typeof(bar(0)));
--------------------

Output:
--------------------
inout(int)
int
--------------------

`inout` qualifier somehow escapes the context of `bar` function.

--

Reply via email to