chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #1186: module-environment is broken for non-primitive


From: Chicken Trac
Subject: [Chicken-janitors] #1186: module-environment is broken for non-primitive modules
Date: Sun, 26 Apr 2015 05:46:26 -0000

#1186: module-environment is broken for non-primitive modules
----------------------------------+-----------------------------------------
 Reporter:  evhan                 |       Owner:         
     Type:  defect                |      Status:  new    
 Priority:  major                 |   Milestone:  someday
Component:  core libraries        |     Version:  4.9.x  
 Keywords:  modules environments  |  
----------------------------------+-----------------------------------------
 {{{
 $ csi -p "(module-environment 'extras)"
 #<environment extras>
 $ csi -p "(module-environment 'test)"

 Error: (car) bad argument type: #f
 }}}

 This appears to happen because non-primitive modules never have their
 "saved-environments" field set. I would expect something like [http://code
 .call-cc.org/cgi-bin/gitweb.cgi?p=chicken-
 
core.git;a=blob;f=modules.scm;h=7afb51671c871f24a0e3da5f11d77c40fb2411d7;hb=HEAD#l417
 this code] in {{{##sys#register-primitive-module}}} to appear in {{{##sys
 #register-compiled-module}}}, but there is no such assignment.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/1186>
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]