Clojure

Regexp are never equal

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Declined
  • Affects Version/s: Release 1.5
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code
  • Approval:
    Triaged

Description

The following (= #"asd" #"asd") will return false in CLJ, even if they are the same.

Consequently, everything with a regexp in it (lists, vectors, maps...) will never be equal.

It seems to have been fixed for CLJS, but not for CLJ.
https://github.com/clojure/clojurescript/commit/e35c3a57472fa62ae41591418a73794dc8ac6dde

Activity

Omer Iqbal made changes -
Field Original Value New Value
Attachment fix-CLJ-1182.diff [ 11910 ]
Omer Iqbal made changes -
Patch Code [ 10001 ]
Omer Iqbal made changes -
Assignee Omer Iqbal [ olenhad ]
Omer Iqbal made changes -
Attachment fix-CLJ-1182.diff [ 11911 ]
Omer Iqbal made changes -
Attachment fix-CLJ-1182.diff [ 11910 ]
Omer Iqbal made changes -
Attachment fix-CLJ-1182.diff [ 11911 ]
Omer Iqbal made changes -
Attachment fix-CLJ-1182.diff [ 11913 ]
Stuart Halloway made changes -
Approval Triaged [ 10120 ]
Priority Major [ 3 ] Minor [ 4 ]
Issue Type Defect [ 1 ] Enhancement [ 4 ]
Alex Miller made changes -
Labels bug
Rich Hickey made changes -
Resolution Declined [ 2 ]
Status Open [ 1 ] Closed [ 6 ]

People

Vote (0)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: