[Issue 13430] Improve error message with wrong arg type to inout function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 29 06:24:25 UTC 2021


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

Nicholas Wilson <iamthewilsonator at hotmail.com> changed:

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

--- Comment #1 from Nicholas Wilson <iamthewilsonator at 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`

--


More information about the Digitalmars-d-bugs mailing list