From: Chris Hanson Date: Mon, 27 Apr 1987 21:45:33 +0000 (+0000) Subject: Fix bug in copying of declarations, where variable was passed to X-Git-Tag: 20090517-FFI~13574 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=9d53407bd0b744346d97f8ddcaedcee1a7bf6d76;p=mit-scheme.git Fix bug in copying of declarations, where variable was passed to `block/lookup-name' rather than the variable's name. --- diff --git a/v7/src/sf/copy.scm b/v7/src/sf/copy.scm index d9efd13ea..fc9de913d 100644 --- a/v7/src/sf/copy.scm +++ b/v7/src/sf/copy.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/sf/copy.scm,v 3.3 1987/03/20 23:49:22 cph Exp $ +$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/sf/copy.scm,v 3.4 1987/04/27 21:45:33 cph Exp $ Copyright (c) 1987 Massachusetts Institute of Technology @@ -143,7 +143,8 @@ MIT in each case. |# (environment/lookup environment variable identity-procedure (lambda () - (block/lookup-name root-block variable)))) + (block/lookup-name root-block + (variable/name variable))))) (lambda (expression) (copy/expression block environment expression)))))