|
From: | Per Bothner |
Subject: | [Bug-kawa] [bug #32999] Eval doesn't resolve symbols when compiled |
Date: | Tue, 05 Apr 2011 15:49:03 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16 |
Update of bug #32999 (project kawa): Status: None => Invalid Assigned to: None => bothner _______________________________________________________ Follow-up Comment #1: This behavior is intentional. The body of the eval is in a different "module" than the tst.scm file. Therefore the former can't see the latter. This behavior is desirable for modularity and performance (since it enables better optimizations by the compiler). You can get the behavior you want by replacing 'define' with 'define-variable'. That declares func to be a "dynamic" variable. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?32999> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |