core.match

matching literals is too optimistic

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

(m/match [:r :d]
  [:s :d] nil
  [:r :t] nil
  [:r :d] :x
  [:s :t] nil)

If the order of the first two clauses is flipped we will run into trouble. The constant literal match optimization is too optimistic. We should put the literals into a set to know how many we can test together.

Activity

Hide
David Nolen added a comment -

fixed in master for rc3

Show
David Nolen added a comment - fixed in master for rc3

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: