From: Chris Hanson Date: Fri, 25 Apr 2003 00:58:21 +0000 (+0000) Subject: Fix bug: RECORD-TYPE-DISPATCH-TAG must be an absolute reference. X-Git-Tag: 20090517-FFI~1921 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=51ce550836e198ec3779cf7abe0794d787a0553f;p=mit-scheme.git Fix bug: RECORD-TYPE-DISPATCH-TAG must be an absolute reference. --- diff --git a/v7/src/runtime/defstr.scm b/v7/src/runtime/defstr.scm index b41c5959e..df4bdb043 100644 --- a/v7/src/runtime/defstr.scm +++ b/v7/src/runtime/defstr.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: defstr.scm,v 14.54 2003/03/14 20:11:37 cph Exp $ +$Id: defstr.scm,v 14.55 2003/04/25 00:58:21 cph Exp $ Copyright 1987,1988,1989,1990,1991,1992 Massachusetts Institute of Technology Copyright 1993,1994,1995,1996,1997,2000 Massachusetts Institute of Technology @@ -755,7 +755,9 @@ differences: (case (structure/physical-type structure) ((RECORD) `((DEFINE ,predicate-name - (LET ((TAG (RECORD-TYPE-DISPATCH-TAG ,tag-expression))) + (LET ((TAG + (,(absolute 'RECORD-TYPE-DISPATCH-TAG context) + ,tag-expression))) (NAMED-LAMBDA (,predicate-name OBJECT) (AND (,(absolute '%RECORD? context) OBJECT) (,(absolute 'EQ? context)