You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 14, 2018. It is now read-only.
I think reporting a value of an argument is a bad idea, but I would be extremely happy with an index of a failed argument.
For now, the experimental changes can be seen here: https://github.com/paweljasinski/IronLanguages/tree/gh1151
complete example available at: http://stackoverflow.com/a/27657216/1761490
When last argument to
OpenNetPort
call is 12345 instead of PortHandle, the error message is:TypeError: expected Byte, got StrongBox[Byte]
When second last argument to
OpenNetPort
call is 22 insted of comAddr, the error message is:TypeError: expected int, got StrongBox[int]
The exception is thrown from https://github.com/IronLanguages/main/blob/ipy-2.7-maint/Runtime/Microsoft.Dynamic/Actions/Calls/OverloadResolver.cs#L1062
It appears,
target.callFailures
contains multiple entries, but only one is reported.The text was updated successfully, but these errors were encountered: