Why doesn't compiler alert us about duplicate method during the compilation?

Is it possible?

I mean, as we have the overloaded technique and it is considered obsolete, the compiler could warning us about the duplicate methods without the overloaded declaration.