The following translation incorrectly detects the type of the inner (nested) ternary expression as `Bool`:
If we remove the nested ternary expression, it is translated just fine:
The type of the ternary expression is determined by GetBinaryExpressionType() method.
Problem: in the inner ternary expression, the `falseExpression` part includes only
(which indeed returns `Bool`)
... while it should include
(which returns `NSFontTraitMask`):
Original customer's report:
was converted to
Ternary expressions were being parsed incorrectly. I've fixed it by adding <assoc=right> option.