<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Nov 11, 2014 at 12:41 PM, Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info" target="_blank">anton@korobeynikov.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The type is definitely ignored. However, for (a ? lhs : rhs) we should promote both lhs and rhs to their common type, right? And currently this is performed inside UsualArithmeticConversions (or, actually, inside handleComplexFloatConversion). Should we duplicate the behavior of handleComplexFloatConversion inside CheckConditionalOperands ?</blockquote><div><br></div><div>No. Take the result of UsualArithmeticConversions and use that as the result of the conditional. </div></div></div></div>