Improve error message for "function is not callable using argument"
ryuukk_
ryuukk.dev at gmail.com
Sun Apr 2 13:43:59 UTC 2023
```
Error: function `proxy.injector.RemoteLibraryFunction(void*
hProcess, const(wchar)* lpModuleName, const(wchar)* lpProcName,
void* lpParameters, ulong dwParamSize, void** ppReturn)` is not
callable using argument
types `(void*, const(wchar)*, wchar[512], void*, int, void**)`
```
While writing this post i just remembered that i attempted a PR
few years ago: https://github.com/dlang/dmd/pull/13366
This is always painful to read/decipher, can this error be
improved?
At least colors/arrows to tell me wich argument(s) are wrong
Perhaps on a new line?
Unfortunately, I have no ideas how to improve it, anyone mind
helping me?
Thanks!
More information about the Digitalmars-d
mailing list