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
The compiler is unable to find the correct overload in the case below, even though the signature is explicitly given. Additionally, the function signature in the error message is incorrect as it does not include params.
classProgram{publicvoidTest(Stringstr,Stringstr2){}publicvoidTest(Stringstr,params String[] strs){}publicstaticvoidMain(){
function void(Programthis,String,params String[]) ptr ==> Test;// ERROR: No overload for 'Test' matches function 'function void(simple_test.Program this, System.String, System.String[])'}}
The compiler is unable to find the correct overload in the case below, even though the signature is explicitly given. Additionally, the function signature in the error message is incorrect as it does not include
params
.Tested with: aa4f9f7
The text was updated successfully, but these errors were encountered: