Skip to content

v2.2.4

@umutozel umutozel tagged this 08 Jul 20:02
Jokenizer 1.3.4 fixes ternary parsing: "a > 2 ? x : y" used to parse as
"a > (2 ? x : y)" and Expression.Condition threw "Argument must be
boolean (Parameter 'test')" for every ternary whose predicate ends in a
binary comparison.

TernaryPrecedenceTests locks the fixed behaviour through the public
Select surface: simple/chained/arithmetic predicates, nullable operands,
new(...) projections and nested ternaries.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Assets 2
Loading