[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
#1716: coops + s11n malfunction
From: |
Chicken Trac |
Subject: |
#1716: coops + s11n malfunction |
Date: |
Wed, 19 Aug 2020 19:38:08 -0000 |
#1716: coops + s11n malfunction
---------------------------------------+------------------------
Reporter: Idiomdrottning | Type: defect
Status: new | Priority: major
Milestone: someday | Component: extensions
Version: 5.1.0 | Keywords: coops s11n
Estimated difficulty: |
---------------------------------------+------------------------
{{{
#!scheme
(define-class frotz () ((name accessor: name)))
(define xyzzy (make frotz 'name "blue jeans"))
(name xyzzy)
(with-output-to-file "/tmp/frotz" (lambda () (serialize xyzzy)))
(define nitfol (with-input-from-file "/tmp/frotz" deserialize))
nitfol ; <= evals to #<coops instance of `frotz'>
(name nitfol); <= fails with Error: (name) no method defined for given
argument classes: (#<coops instance of `<standard-class>'>)
}}}
This used to work and print "blue jeans" but I'm not sure when it stopped
working. I especially hope I can rescue all my other saved objects because
I have a lot of precious in thereā„
--
Ticket URL: <https://bugs.call-cc.org/ticket/1716>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
- #1716: coops + s11n malfunction,
Chicken Trac <=