Check for designator equality before equating them