bugKawa - Bugs: bug #27188, Sequence printing

 
 

bug #27188: Sequence printing

Submitted by:  Helmut Eller <ellerh>
Submitted on:  Thu 06 Aug 2009 06:51:09 AM UTC  
 
Category: Scheme librarySeverity: 3 - Normal
Item Group: Run-time exceptionStatus: Fixed
Privacy: PublicAssigned to: Per Bothner <bothner>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 06 Aug 2009 09:13:56 PM UTC, comment #2:

Checked in test-case.

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Thu 06 Aug 2009 05:55:08 PM UTC, comment #1:

I checked in a fix.

I wrote a test-case, which uncovered a problem I want to look at before I close this.

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Thu 06 Aug 2009 06:51:09 AM UTC, original submission:

Kawa fails to print subsequences:
#|kawa:1|# (invoke #(1 2 3) 'subList 0 1)
java.lang.RuntimeException
at gnu.lists.AbstractSequence.consumePosRange(AbstractSequence.java:800)
at gnu.lists.AbstractSequence.consume(AbstractSequence.java:812)
at gnu.kawa.functions.DisplayFormat.writeObjectRaw(DisplayFormat.java:232)
at gnu.kawa.functions.DisplayFormat.writeObject(DisplayFormat.java:128)
at gnu.lists.AbstractFormat.writeObject(AbstractFormat.java:85)
at gnu.mapping.OutPort.print(OutPort.java:246)
at gnu.lists.PrintConsumer.writeObject(PrintConsumer.java:131)
at gnu.mapping.Values.writeValues(Values.java:220)
at atInteractiveLevel$5.run(stdin)
at gnu.expr.ModuleExp.evalModule2(ModuleExp.java:298)
at gnu.expr.ModuleExp.evalModule(ModuleExp.java:176)
at kawa.Shell.run(Shell.java:273)
at kawa.Shell.run(Shell.java:184)
at kawa.Shell.run(Shell.java:165)
at kawa.repl.main(repl.java:887)
(#sequence 1
#|kawa:2|#

Helmut Eller <ellerh>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bothner (Posted a comment)
  • -unavailable- added by ellerh (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 06 Aug 2009 09:13:56 PM UTCbothnerOpen/ClosedOpen=>Closed
    Thu 06 Aug 2009 05:55:08 PM UTCbothnerStatusNone=>Fixed
      Assigned toNone=>bothner

    Back to the top


    Powered by Savane 3.1-cleanup1