"fix" local-eval for introduced toplevels
authorAndy Wingo <wingo@pobox.com>
Mon, 30 Jan 2012 19:28:10 +0000 (20:28 +0100)
committerAndy Wingo <wingo@pobox.com>
Mon, 30 Jan 2012 19:28:10 +0000 (20:28 +0100)
* module/ice-9/local-eval.scm: Fix for introduced toplevel identifiers.

module/ice-9/local-eval.scm

index 28f30b9..493dbed 100644 (file)
                                  t)
                            patterns))))
               (else
-               (error "what" type val))))))))))
+               ;; Interestingly, this case can include globals (and
+               ;; global macros), now that Guile tracks which globals it
+               ;; introduces.  Not sure what to do here!  For now, punt.
+               ;; 
+               (lp ids capture formals wrappers patterns))))))))))
 
 (define-syntax the-environment
   (lambda (x)