Details
-
Type:
Defect
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
Consider the following code:
(defrel rel1 ^:index a)
(fact rel1 [1 2])
(run* [q] (fresh [a] (rel1 [q a]) (== a 2)))
The result of the above query is () although it should be (1). If the index is dropped, the correct result is returned.
Fixed, https://github.com/clojure/core.logic/commit/773f13c3e92bb0eb658781b73fa6b02d1ec5008f