3 ms·
Changing the code changes the code. In any popular language, if you have some method whose single argument is being implicitly upcast by a caller then you add
by nick_ 5y ago
Changing the code changes the code.
In any popular language, if you have some method whose single argument is being implicitly upcast by a caller then you add a more specific overload on that arguments inheritance hierarchy, the caller will now be calling the new method.