semantic: Error when casting overloaded function.