~ chicken-core (chicken-5) efad96cac187de51a696f712d6470a0c38b3513c


commit efad96cac187de51a696f712d6470a0c38b3513c
Author:     Evan Hanson <evhan@foldling.org>
AuthorDate: Wed Jan 27 19:26:42 2016 +1300
Commit:     Evan Hanson <evhan@foldling.org>
CommitDate: Tue Mar 8 22:52:34 2016 +1300

    Drop feature test from evaluated requirement processing
    
    This keeps decisions about whether to load a library or not local to
    `load-library` and `load-extension`.

diff --git a/eval.scm b/eval.scm
index 1fdf1a31..5b55338f 100644
--- a/eval.scm
+++ b/eval.scm
@@ -1298,8 +1298,6 @@
        (values '(##core#undefined) id #f))
       ((memq id static-units)
        (values '(##core#undefined) id #f))
-      ((and (not compiling?) (##sys#feature? id))
-       (values '(##core#undefined) id #f))
       ((memq id core-syntax-units)
        (values '(##core#undefined) id #f))
       ((memq id core-library-units)
Trap