[ sisc-Bugs-806864 ] Records deserializing incorrectly

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.sisc.devel
Message-ID <[email protected]>
Bugs item #806864, was opened at 2003-09-15 16:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=806864&group_id=23735

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Records deserializing incorrectly

Initial Comment:
When deserializing a record there is an error accessing

the fields of that record:



(import record)

(define-struct test-struct  (f1 f2 f3))

(define a (make-test-struct 1 2 3))

(test-struct-f1 a)  ;;(A)

(call-with-serial-output-file "c:/test.ser"

			      (lambda (port)

				(serialize a port)))

(define b (call-with-serial-input-file "c:/test.ser"

deserialize))

(test-struct-f1 b)  ;;(B)



(A) returns '1' as expected. 'B' fails with:

Error: accessor applied to bad value





----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=806864&group_id=23735


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.