<< Back to previous view

[LOGIC-40] Retractions with an empty collection produces a NullPointerException Created: 18/May/12  Updated: 28/Jul/13  Resolved: 18/May/12

Status: Closed
Project: core.logic
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Minor
Reporter: Michael Nygard Assignee: David Nolen
Resolution: Completed Votes: 0
Labels: None


Attachments: Text File allow_empty_collection_in_retraction.patch    
Patch: Code



(defrel load-factor src snk lf)
(retractions load-factor [])

Results in NPE. Should do nothing without complaining.

Comment by David Nolen [ 18/May/12 7:24 PM ]

Fixed, http://github.com/clojure/core.logic/commit/d613316bbce889906b4ad2172970258bf0f16916

Generated at Thu Jan 18 12:18:07 CST 2018 using JIRA 4.4#649-r158309.