Move lossless type conversion check from alignTypes() to separate function
Move lossless type conversion check from alignTypes() to separate function

Move lossless type conversion check from alignTypes() to a new
function typeLosslesslyConvertible().

andidr/teckyl,andidr/teckyl,andidr/teckyl