mirror of
https://github.com/unclebob/dryer.git
synced 2026-11-26 18:58:51 +00:00
The grammar puts that label on the call as an identifier, so label: and action: scored 1.0. The spelling now stays, as a parenthesized argument label does. A closure body still drops its locals. Proved by test_a_trailing_closure_label_is_part_of_the_call. Co-authored-by: Robert C. Martin <[email protected]>