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
When adding additional overloads that have the same number of parameters to an existing method, it causes a potential source compatibility issue due to the type inference of null.
ex:
Existing method
public void doThing(File file){...}
Adding the following overload will cause compilation errors in sites that make a call with a null parameter.
public void doThing(Path path){...}
The text was updated successfully, but these errors were encountered:
When adding additional overloads that have the same number of parameters to an existing method, it causes a potential source compatibility issue due to the type inference of
null
.ex:
Existing method
Adding the following overload will cause compilation errors in sites that make a call with a
null
parameter.The text was updated successfully, but these errors were encountered: