Details
-
Type:
Enhancement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: Release 1.5
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
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
added an implementation for the equiv method if both args are java.util.regex.Pattern