Check if function return type has been changed