<< 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
Environment:

All.


Attachments: Text File allow_empty_collection_in_retraction.patch    
Patch: Code

 Description   

Example:

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

Results in NPE. Should do nothing without complaining.



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

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

Generated at Tue Sep 02 12:38:18 CDT 2014 using JIRA 4.4#649-r158309.