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 Aug 2, 2019. It is now read-only.
There is a failing unit test which pertains to overload resolution. The following case fails to find the correct overload:
void Method(float a) { }
void Method(double a) { }
Method(1)
The problem here is that integer can be implicitly casted to both float and double, and the overload resolution mechanism currently doesn't score overloads which are matched through implicit casts. C# b.t.w. calls the method with the float argument.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There is a failing unit test which pertains to overload resolution. The following case fails to find the correct overload:
The problem here is that integer can be implicitly casted to both float and double, and the overload resolution mechanism currently doesn't score overloads which are matched through implicit casts. C# b.t.w. calls the method with the float argument.
The text was updated successfully, but these errors were encountered: