~ chicken-core (chicken-5) 57d0097c6f731ef5a30a77c351017145213af9b9
commit 57d0097c6f731ef5a30a77c351017145213af9b9 Author: Evan Hanson <evhan@foldling.org> AuthorDate: Tue Feb 23 12:37:24 2016 +1300 Commit: Peter Bex <peter@more-magic.net> CommitDate: Tue Feb 23 19:57:34 2016 +0100 Load lolevel in compiler so that foldable bindings are present This ensures that all identifiers that are subject to constant folding are bound to procedures in the compiler so that `constant-form-eval` will work correctly. Note that the data-structures, extras, and srfi-4 units also contain foldable bindings, but these are already used by the compiler so they don't need to be added. Signed-off-by: Peter Bex <peter@more-magic.net> diff --git a/chicken.scm b/chicken.scm index 78228384..c1e4a103 100644 --- a/chicken.scm +++ b/chicken.scm @@ -27,9 +27,10 @@ (declare (uses chicken-syntax chicken-ffi-syntax - srfi-1 srfi-4 utils files extras data-structures support - compiler optimizer lfa2 compiler-syntax scrutinizer driver platform backend - srfi-69)) + srfi-1 srfi-4 utils files extras data-structures srfi-69 + lolevel ; unused, but loaded to make foldable bindings available + support compiler optimizer lfa2 compiler-syntax scrutinizer + driver platform backend)) (include "compiler-namespace")Trap