Fixed in rev 1405.
> (let () (define-record-type my-thing (fields x)) (define t0 (make-my-thing 123)) (let-values ([(bvop bvop-getter) (open-bytevector-output-port)]) (fasl-write t0 bvop) (let ([bv (bvop-getter)]) (for-each (lambda (n) (printf "~x~x" (div n 16) (mod n 16))) (bytevector->u8-list bv)) (newline) (let ([obj (fasl-read (open-bytevector-input-port bv))]) (list t0 obj (and (my-thing? obj) (my-thing-x obj))))))) 2340494B30317B01000000574D73080000006D792D7468696E67464773020000006730731000000046246A392F35242F4C5877324A47395A46464904000000464D73010000007849EC010000 (#[my-thing 123] #[my-thing 123] 123)
Fixed in rev 1405.
> (let () record- type my-thing (fields x)) r-output- port)])
(bytevector- >u8-list bv)) r-input- port bv))]) 1000000574D7308 0000006D792D746 8696E6746477302 000000673073100 0000046246A392F 35242F4C5877324 A47395A46464904 000000464D73010 000007849EC0100 00
(define-
(define t0 (make-my-thing 123))
(let-values ([(bvop bvop-getter) (open-bytevecto
(fasl-write t0 bvop)
(let ([bv (bvop-getter)])
(for-each
(lambda (n) (printf "~x~x" (div n 16) (mod n 16)))
(newline)
(let ([obj (fasl-read (open-bytevecto
(list t0 obj (and (my-thing? obj) (my-thing-x obj)))))))
2340494B30317B0
(#[my-thing 123] #[my-thing 123] 123)