chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] Re: #540: evicting srfi-4 vectors breaks ffi compatib


From: Chicken Trac
Subject: [Chicken-janitors] Re: #540: evicting srfi-4 vectors breaks ffi compatibility
Date: Sun, 20 Mar 2011 12:53:12 -0000

#540: evicting srfi-4 vectors breaks ffi compatibility
-----------------------------+----------------------------------------------
  Reporter:  syn             |       Owner:       
      Type:  defect          |      Status:  new  
  Priority:  major           |   Milestone:       
 Component:  core libraries  |     Version:  4.6.x
Resolution:                  |    Keywords:       
-----------------------------+----------------------------------------------
Changes (by felix):

  * milestone:  4.7.0 =>


Comment:

 The problem is that the serialization also copies the tag of the structure
 that holds the vector (a srfi-4 vector is a struct with a symbol tag and a
 blob). The type-check compares the structure tag using the equivalent of
 `eq?` which fails, since the evicted symbol tag is not identical to the
 symbol that's used for comparison.

 I can't think of a suitable solution to this right now.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/540#comment:1>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]