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
Remove $gotGreater/$gotSmaller in favor of direct $newMin/$newMax comparisons
Simplify the integer generalization logic in generalizeType() by removing
the $gotGreater and $gotSmaller boolean flags. Instead, compute $newMin/$newMax
in the same loop and check $newMax > $max / $newMin < $min directly.
Also applies the symmetric fix for integer ranges (was still using
new IntegerType() instead of IntegerRangeType::fromInterval()).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments