Skip to content

Commit

Permalink
REPLIES: Fixing AVAILABLE-REPLIES's behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
adlai committed Jan 6, 2010
1 parent 4c8a057 commit 60c10e4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/reply-definition.lisp
Expand Up @@ -136,10 +136,9 @@

(defun available-replies (object)
(delete-duplicates
(append (%object-roles object)
(mapcan 'available-replies
(object-parents object)))
:test 'equal))
(nconc (mapcar 'car (%object-roles object))
(mapcan 'available-replies
(object-parents object)))))

(defun add-reader-to-object (reader prop-name object)
(ensure-message reader :lambda-list '(object))
Expand Down

0 comments on commit 60c10e4

Please sign in to comment.