Clojure

NullPointerException on disj

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: Release 1.2
  • Component/s: None
  • Labels:
    None
  • Approval:
    Ok

Description

disj throws a NPE when given a nil set. Tested using a build of clojure master branch as of 2010-05-26.

Clojure 1.2.0-master-SNAPSHOT
user=> (disj nil :test)
java.lang.NullPointerException (NO_SOURCE_FILE:0)

Expected result to be nil.

http://groups.google.com/group/clojure/browse_thread/thread/3090d34f9ccf75ea

Activity

Hide
Assembla Importer added a comment -

meikelbrandmeyer said: [file:bt3H1QABar34xReJe5cbLr]: Patch for ticket #360

Show
Assembla Importer added a comment - meikelbrandmeyer said: [file:bt3H1QABar34xReJe5cbLr]: Patch for ticket #360
Hide
Assembla Importer added a comment -

meikelbrandmeyer said: Fixed disj and added appropriate test cases.

Show
Assembla Importer added a comment - meikelbrandmeyer said: Fixed disj and added appropriate test cases.
Hide
Assembla Importer added a comment -

stu said: Updating tickets (#327, #359, #360, #361, #362)

Show
Assembla Importer added a comment - stu said: Updating tickets (#327, #359, #360, #361, #362)

People

  • Assignee:
    Unassigned
    Reporter:
    Anonymous
Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: