[armedbear-ticket] [armedbear] #196: STABLE-SORT is only stable for lists

armedbear armedbear-devel at common-lisp.net
Sat Feb 11 15:56:41 UTC 2012


#196: STABLE-SORT is only stable for lists
--------------------------+-------------------------------------------------
  Reporter:  mevenson     |       Owner:  ehuelsmann      
      Type:  defect       |      Status:  reopened        
  Priority:  blocker      |   Milestone:  1.1.0           
 Component:  interpreter  |     Version:  1.0.1           
Resolution:               |    Keywords:  ansi-conformance
--------------------------+-------------------------------------------------

Comment(by https://www.google.com/accounts/o8/id?id=aitoawnthushznrlieuamks3fxvzisibfmuzjyo):

 After the [http://article.gmane.org/gmane.lisp.armedbear.devel/2220
 further patch from Jorge of 11-FEB-2012] commited in r13870 , easye still
 sees errors from the ANSI, something about unexpected types:
 {{{
 Test STABLE-SORT-VECTOR.4 failed
 Form: (LET ((A (MAKE-ARRAY 10 :INITIAL-CONTENTS (QUOTE (10 40 20 50 30 15
 45 25 55 35)) :FILL-POINTER 5))) (STABLE-SORT A (FUNCTION <)))
 Expected value:
           #(10 20 30 40 50)
 Actual value:
           #<TYPE-ERROR {678042C2}> [The value #(10 40 20 50 30) is not of
 type SIMPLE-VECTOR.]
 Test STABLE-SORT-VECTOR.6 failed
 Form: (DO-SPECIAL-INTEGER-VECTORS (V #(1 4 7 3 2 6 5) NIL) (LET ((SV
 (STABLE-SORT V (FUNCTION <)))) (ASSERT (EQUALP SV #(1 2 3 4 5 6 7)))))
 Expected value:

 }}}

-- 
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/196#comment:4>
armedbear <http://common-lisp.net/project/armedbear>
armedbear


More information about the armedbear-ticket mailing list