core.match

irrelevant binding at leaf nodes

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

Patterns emit useless bindings at the leaf node, only named wildcards and :as patterns should be emitted.

Activity

David Nolen made changes -
Field Original Value New Value
Summary map patterns bind irrelevant keys at leaf nodes patterns bind irrelevant keys at leaf nodes
David Nolen made changes -
Description Again `map-pattern-match-1` exhibits the issue, at the leaf node keys from other clauses are accessed for no reason. Patterns emit useless bindings at the leaf node keys, only named wildcards and :as patterns should be emitted.
David Nolen made changes -
Description Patterns emit useless bindings at the leaf node keys, only named wildcards and :as patterns should be emitted. Patterns emit useless bindings at the leaf node, only named wildcards and :as patterns should be emitted.
David Nolen made changes -
Summary patterns bind irrelevant keys at leaf nodes irrelevant binding at leaf nodes
David Nolen made changes -
Resolution Completed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
David Nolen made changes -
Status Resolved [ 5 ] Closed [ 6 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: