dash.el icon indicating copy to clipboard operation
dash.el copied to clipboard

Fix destructuring (_)

Open basil-conto opened this issue 9 months ago • 1 comments

Currently dash--match-cons pops leading _ placeholders before checking whether match-form contains only a single pattern.

This PR swaps these around, so that we check for a single pattern even if match-form is (_).

This attempts to address #391. Cc: @ComedyTomedy

basil-conto avatar Mar 11 '25 17:03 basil-conto