Files
dryer/tests
Cursor AgentandRobert C. Martin 16b5db55b2 Keep Swift call names so a different callee scores lower.
Renamed locals already matched, and so did filter versus select,
because a Swift call keeps its name in a call_suffix and the name
is a simple_identifier. Both were treated as ordinary words, so the
callee disappeared and the score stayed 1.0.

simple_identifier is a name, and call_suffix is the argument list, the
same two decisions the other languages already make.

Proved: test_a_different_swift_callee_is_not_the_same_structure failed
on a score of 1.0, then passed with the pair below 1.0. The renamed-local
pair still scores 1.0. The full suite passed, 82 tests.

Co-authored-by: Robert C. Martin <[email protected]>
2026-11-25 23:28:45 +00:00
..