warning is issued about incomparable types