Transcoding (error-handling-mode raise) record-constructor bug

Bug #243662 reported by Derick Eddington
2
Affects Status Importance Assigned to Milestone
Ikarus Scheme
Fix Committed
Low
Abdulaziz Ghuloum

Bug Description

Also, there's a typo in "record-condtructor".

Ikarus Scheme version 0.0.3+ (revision 1522, build 2008-06-25)
Copyright (c) 2006-2008 Abdulaziz Ghuloum

> (call-with-bytevector-output-port
    (lambda (bvop) (put-char bvop #\λ))
    (make-transcoder (latin-1-codec) (eol-style none) (error-handling-mode raise)))
Unhandled exception
 Condition components:
   1. &assertion
   2. &who: record-condtructor
   3. &message: "insufficient arguments"
   4. &irritants: (())
>
> ;;; These are okay:
>
> (call-with-bytevector-output-port
    (lambda (bvop) (put-char bvop #\λ))
    (make-transcoder (latin-1-codec) (eol-style none) (error-handling-mode replace)))
#vu8(63)
>
> (call-with-bytevector-output-port
    (lambda (bvop) (put-char bvop #\λ))
    (make-transcoder (latin-1-codec) (eol-style none) (error-handling-mode ignore)))
#vu8()
>

Related branches

Revision history for this message
Abdulaziz Ghuloum (aghuloum) wrote :

Fixed in 1524. Thanks!

(call-with-bytevector-output-port
    (lambda (bvop) (put-char bvop #\λ))
    (make-transcoder (latin-1-codec) (eol-style none) (error-handling-mode raise)))
Unhandled exception
 Condition components:
   1. &i/o-encoding:
       port: #<output-port (textual) "*bytevector-output-port*">
       char: #\λ

Changed in ikarus:
assignee: nobody → aghuloum
status: New → Fix Committed
importance: Undecided → Low
Changed in ikarus:
milestone: none → 0.0.4
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.