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
F([1, 2, 3]) below is reported as ambiguous, even though only one overload is applicable.
classProgram{staticvoidF(string[]arg){}staticvoidF(int[]arg){}staticvoidMain(){
F([1,2,3]);// error CS0121: ambiguous between 'F(string[])' and 'F(int[])'}}
Version Used: d838fac
Steps to Reproduce:
F([1, 2, 3])
below is reported as ambiguous, even though only one overload is applicable.Expected Behavior:
Compiles successfully.
Relates to test plan #66418
Actual Behavior:
Error reported:
error CS0121: ambiguous between 'F(string[])' and 'F(int[])'
The text was updated successfully, but these errors were encountered: