Thread overview
[Issue 13430] Improve error message with wrong arg type to inout function
Sep 06, 2014
Vladimir Panteleev
Sep 06, 2014
Vladimir Panteleev
Mar 29, 2021
Nicholas Wilson
September 06, 2014
https://issues.dlang.org/show_bug.cgi?id=13430

Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
                 CC|                            |thecybershadow@gmail.com

--
September 06, 2014
https://issues.dlang.org/show_bug.cgi?id=13430

Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |minor

--
March 29, 2021
https://issues.dlang.org/show_bug.cgi?id=13430

Nicholas Wilson <iamthewilsonator@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |iamthewilsonator@hotmail.co
                   |                            |m
         Resolution|---                         |WORKSFORME

--- Comment #1 from Nicholas Wilson <iamthewilsonator@hotmail.com> ---
This seems to have been fixed somewhere along the way. It now prints

onlineapp.d(14): Error: function `onlineapp.S.f(int x) inout` is not callable
using argument types `(ulong)`
onlineapp.d(14):        cannot pass argument `s` of type `ulong` to parameter
`int x`

--