You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the Java Language Specification (JLS §15.25.2)[https://docs.oracle.com/javase/specs/jls/se8/html/jls-15.html#jls-15.25.2]:
> If one of the second and third operands is of primitive type $T$, and the type of the other is the result of applying binary numeric promotion to $T$, then the type of the conditional expression is that promoted type.
This fixes the bug introduced in #603.
0 commit comments