leftibot 1a3da64e02 Fix #625: function_less_than comparator violates strict-weak ordering
The function_less_than comparator used by std::stable_sort violated the
strict-weak ordering requirement in two ways: (1) functions with different
arities but matching overlapping parameters were treated as equivalent,
breaking transitivity, and (2) the dynamic_object_type_name comparison
silently fell through when one side had an empty type name. Fixed by
ordering by arity when overlapping parameters match, and imposing a total
order on dynamic object type names.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 09:54:27 -06:00
..
chaiscript Fix #625: function_less_than comparator violates strict-weak ordering 2026-04-11 09:54:27 -06:00