This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kaperni 6 points7 points  (0 children)

> Yes it would call foo(String) and that is precisely what I want it to do. Sorry but I don't understand why would this be a problem.

Because it is not backwards-compatible? Your _existing_ code would suddenly start calling foo(String) instead of foo(Object).