fix goops compilation when current language is not scheme
authorAndy Wingo <wingo@pobox.com>
Thu, 5 Jul 2012 08:15:02 +0000 (10:15 +0200)
committerAndy Wingo <wingo@pobox.com>
Thu, 5 Jul 2012 08:15:02 +0000 (10:15 +0200)
* module/oop/goops/dispatch.scm (compute-dispatch-procedure): Set source
  language to Scheme, not (current-language).

module/oop/goops/dispatch.scm

index de5359f..76f16fb 100644 (file)
       (lambda ()
         (let ((p ((@ (system base compile) compile) exp
                   #:env *dispatch-module*
+                  #:from 'scheme
                   #:opts '(#:partial-eval? #f #:cse? #f))))
           (apply p vals)))))